httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Moore" <tjmo...@digitalperformance.com>
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...

<VirtualHost 65.61.145.96>
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
LogFormat COMBINED
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
</Directory>
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
</Directory>
</VirtualHost>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message