Conf File Set Up

Conf File Set Up

Post by rob zimmerm » Wed, 08 Apr 1998 04:00:00

OK ...Im plugin away here....

Everything works but CGI...hehehe


1. I have set up Virtual Hosting in the httpd file. In the access file

    there is a directive # set this to DocumentRoot.
    <Directory /usr/local/etc/httpd/htdocs/>
     Options Indexes FollowSymLinks Includes
     AllowOverride All
     order allow,deny
    allow from all

     The question is, is this useless because of the DocRoot settings
      in the VirtualHost directive in the httpd file? Each VirtualHost

      DocumentRoot is differant.

2. Can I elliminate the access file? and put everything in the  
    <virtualhost> directive in the httpd file?

3. Regarding CGI under VirtualHosting:
       no entry

      # for global use of all virtualhosts
      ScriptAlias /cgi-bin /usr/local/etc/httpd/cgi-bin

          ## VH ###

DocumentRoot /usr/local/etc/httpd/sites/
ScriptAlias /cgi-local

<Directory /usr/local/etc/httpd/sites/>
Options ExecCGI

TransferLog /usr/local/etc/httpd/sites/
ErrorLog /usr/local/etc/httpd/sites/