httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Moore" <>
Subject [users@httpd] setting a PHP/CGI program for the home page
Date Thu, 23 Jan 2003 05:34:43 GMT

I want to set index.php instead of index.html to be the document root, but
when I do all the graphics do not display. I know there is some simple thing
I am doing wrong...

DocumentRoot /usr/local/www/vhosts/<domain-name>.com/htdocs/index.php
(instead of without /index.php)
ServerName <domain-name>.com
ServerAlias www.<domain-name>.com
ServerAdmin webmaster@<domain-name>.com
ErrorLog /usr/local/www/vhosts/<domain-name>.com/logs/error_log
TransferLog /usr/local/www/vhosts/<domain-name>.com/logs/access_log
HostNameLookups off
<Directory "/usr/local/www/vhosts/<domain-name>.com/htdocs">
  Options All
  AllowOverride All
  Order allow,deny
  Allow from all
ScriptAlias /cgi-bin /usr/local/www/vhosts/<domain-name>.com/cgi-bin
<Directory "/usr/local/www/vhosts/<domain-name>.com/cgi-bin">
  AllowOverride None
  Options None
  Order allow,deny
  Allow from all

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message