Your example for virtual host httpd-fcgid.conf is bad...

Started by Thog, December 26, 2011, 12:19:40 AM

Previous topic - Next topic

Thog

Your example in httpd-fcgid.conf is wrong...

You have:

# Per VirtualHost Config Example
#
#<VirtualHost *:80>
#       DocumentRoot  /Apache22/htdocs/fcgi
#       ServerName fcgi.local
#       ErrorLog logs/fcgi.error.log
#       CustomLog logs/fcgi.access.log common
#       <Directory "/Apache22/htdocs/fcgi">
#               SetEnv PHPRC "c:/php"
#               AddHandler fcgid-script .php
#               Options Indexes FollowSymLinks ExecCGI
#               AllowOverride all
#               FcgidWrapper "C:/php/php-cgi.exe" .php
#         Require all granted
#       </Directory>
#</VirtualHost>

This should be:

# Per VirtualHost Config Example
#
#<VirtualHost *:80>
#       DocumentRoot  /Apache22/htdocs/fcgi
#       ServerName fcgi.local
#       ErrorLog logs/fcgi.error.log
#       CustomLog logs/fcgi.access.log common
#       FcgidInitialEnv PHPRC "c:/php"
#       <Directory "/Apache22/htdocs/fcgi">
#               AddHandler fcgid-script .php
#               Options Indexes FollowSymLinks ExecCGI
#               AllowOverride all
#               FcgidWrapper "C:/php/php-cgi.exe" .php
#         Require all granted
#       </Directory>
#</VirtualHost>

Here is the talk about it:

http://www.apachelounge.com/viewtopic.php?t=4458

Gregg

I thought that got updated with the new Directives, but  I guess not. Thanks for reporting it.