httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Branna" <bra...@branna.com>
Subject [users@httpd] Named based hosting
Date Mon, 02 Dec 2002 04:24:04 GMT
Greetings all:

Can someone help me with this problem? With RH8 and Apache 2.0, I have named
based hosting setup.  The problem is all quiries to the server by domain
link to the default page.  However, if I point to www.example.com/index.html
or www.example2.com/index.html the correct site appears.  Any idea what
could be causing this problem?

thanks in advance...

-----Original Message-----
From: J. Greenlees [mailto:jaqui@shaw.ca]
Sent: Sunday, December 01, 2002 11:19 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] A problem with index.html


that should work, did you restart apache after adding it?


H. Carter Harris wrote:
> Did I not do that in the last line of the conf file?
>
>
>>LoadModule config_log_module /usr/lib/apache/mod_log_config.so
>>LoadModule dir_module /usr/lib/apache/mod_dir.so
>>User apache
>>Group apache
>>ServerName linuxserver
>>DocumentRoot /usr/www/site.first/htdocs
>>TransferLog /usr/www/site.first/logs/access.log
>>DirectoryIndex index.html
>
>
> -----Original Message-----
> From: J. Greenlees [mailto:jaqui@shaw.ca]
> Sent: Sunday, December 01, 2002 10:02 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] A problem with index.html
>
>
> you need to specify which files are index files for apache to look for.
> with a line like:
>
> <IfModule mod_dir.c>
> 	DirectoryIndex index.html index.php index.php3 index.shtml
> </Ifmodule>
>
> you can set up any filename as the index file, including something like
> start_site_file.html
>
>
>
> ---------------------------------------------------------------------
> 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
>
>
>
> ---------------------------------------------------------------------
> 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
>
>



---------------------------------------------------------------------
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


---------------------------------------------------------------------
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