The Apache Haus Forum

Advanced search  

News:

Welcome to Apache Haus Distribution Forum

Pages: [1]   Go Down

Author Topic: Your example for virtual host httpd-fcgid.conf is bad...  (Read 3761 times)

Thog

  • Newbie
  • *
  • Offline Offline
  • Posts: 1
Your example for virtual host httpd-fcgid.conf is bad...
« 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
Logged

Gregg

  • Administrator
  • Member Elite
  • *****
  • Offline Offline
  • Posts: 847
Re: Your example for virtual host httpd-fcgid.conf is bad...
« Reply #1 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.
Logged
Pages: [1]   Go Up
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13