The Apache Haus Forum

Forum Topics => Apache 2.4 => Topic started by: Thog on December 26, 2011, 12:19:40 AM

Title: Your example for virtual host httpd-fcgid.conf is bad...
Post by: Thog on December 26, 2011, 12:19:40 AM
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
Title: Re: Your example for virtual host httpd-fcgid.conf is bad...
Post by: Gregg on December 26, 2011, 03:39:57 AM
I thought that got updated with the new Directives, but  I guess not. Thanks for reporting it.