httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "H. Carter Harris" <carter-li...@technettn.net>
Subject RE: [users@httpd] A problem with index.html
Date Tue, 03 Dec 2002 00:48:38 GMT
I tried that and it gave me a warning message when I brought Apache back up
and told me that the module was already loaded.  I'm going to look for a way
to make sure that the files I am passing to apache are actually the one's
being used.  This problem also sounds a lot like Branna's!

-----Original Message-----
From: J. Greenlees [mailto:jaqui@shaw.ca]
Sent: Monday, December 02, 2002 2:00 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] A problem with index.html


that should help indeed, if you don't specifically load modules then
they aren't available.

H. Carter Harris wrote:
> I didn't save the one that was installed by Mandrake ... I avoided it.  I
> was figuring that by using the switches (-f and -d) that I was starting
> Apache with my alternative instead of the one that was installed
originally.
> If I go back and start httpd with the defaults it works fine for the
default
> web page; I was trying to learn Apache from the ground up here.
>
> I know if I do "apachectl configtest" it goes to the original
configuration.
> Do you think the AddModule is needed?
>
> -----Original Message-----
> From: J. Greenlees [mailto:jaqui@shaw.ca]
> Sent: Sunday, December 01, 2002 11:02 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] A problem with index.html
>
>
> hmm, that's got me stumped also.
> did you save a copy of the default conf file?
> and does it work right?
> ( I tend to start with that one and add or remove the parts that I don't
> want or need. )
>
> H. Carter Harris wrote:
>
>>I just checked myself again ... I used apachectl stop to stop the server
>
> ...
>
>>then
>>httpd -f /usr/www/site.first/conf/httpd.conf -d /usr/www/site.first/htdocs
>>to start the server again.
>>
>>I checked the log and the 404 error was recorded ... actually is 404 206.
>
> I
>
>>also noted
>>that the site was hit twice today from other IP addresses other than mine.
>>Those hits
>>recorded 400 307 messages.
>>
>>To recreate the error I changed my brower to include the name of the page
>>and it displayed
>>has it has before.  The log shows a "GET /index.html HTTP/1.1" 304 -
>>
>>
>>
>>
>>-----Original Message-----
>>From: J. Greenlees [mailto:jaqui@shaw.ca]
>>Sent: Sunday, December 01, 2002 10: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
>>
>>
>
>
>
>
> ---------------------------------------------------------------------
> 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