You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eric Wagar <ew...@yahoo.com> on 2003/05/11 19:08:31 UTC

[users@httpd] Apache 1.3.27 not loading index.shtml

I have installed Apache 1.3.27 on Solaris 9 last night.  I also installed
mod_perl statically, and mod_frontpage and php dynamically.

The install saved my original httpd.conf, and I only added the lines for the
loadmodules.  After I got the complete install working last night, I go to
bed.  Sometime about 1am, the server was rebooted, for unknown reasons.

Now after that reboot, Apache (and modules) run, but, Apache is seemingly
ignoring the DirectoryIndex.  My DirectoryIndex says
DirectoryIndex index.shtml index.html index.htm
With only index.shtml the only file we use.

The Apache server will return nothing *unless* index.shtml is *explicitly
defined in the URL.

Looking in the logs, both access and error, shows nothing.  No request for
/, but a request for index.shtml show all related files in the access log.

Any pointers would be great.

Thanks
eric



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


Re: [users@httpd] Apache 1.3.27 not loading index.shtml

Posted by Joseph A Nagy Jr <jo...@charter.net>.
Eric Wagar wrote:
> I have installed Apache 1.3.27 on Solaris 9 last night.  I also installed
> mod_perl statically, and mod_frontpage and php dynamically.
> 
> The install saved my original httpd.conf, and I only added the lines for the
> loadmodules.  After I got the complete install working last night, I go to
> bed.  Sometime about 1am, the server was rebooted, for unknown reasons.
> 
> Now after that reboot, Apache (and modules) run, but, Apache is seemingly
> ignoring the DirectoryIndex.  My DirectoryIndex says
> DirectoryIndex index.shtml index.html index.htm
> With only index.shtml the only file we use.
> 
> The Apache server will return nothing *unless* index.shtml is *explicitly
> defined in the URL.
> 
> Looking in the logs, both access and error, shows nothing.  No request for
> /, but a request for index.shtml show all related files in the access log.
> 
> Any pointers would be great.
> 
> Thanks
> eric

Have you checked the AddType and AddHandler sections?


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


Re: [users@httpd] Apache 1.3.27 not loading index.shtml

Posted by Joseph A Nagy Jr <jo...@charter.net>.
Eric Wagar wrote:
> I tried both the AllowOverride [None,All] and the same behavior exists
> before and after the changes.
> 
> The shtml is added:
>     AddType text/html .shtml
>     AddHandler server-parsed .shtm
> 
> I'm more concerned that I don't see any access attempts or errors when I try

You should see access attempts but no errosr as the page will load 
correctly, just ignoring the directives.

BTW, you have "AddHandler server-parsed .shtm", should that not be .shtml?

> to access the webpage without the index.shtml specified.
> 
> eric
<snip>



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


RE: [users@httpd] Apache 1.3.27 not loading index.shtml

Posted by Eric Wagar <ew...@yahoo.com>.
I have resolved my problem.

After looking in the main servers access and error log, I noticed that ther
were major problems.  I looked at the mod_perl website, since that was the
only static module I compiled in and ran a few commands they suggested.  The
results were the same as they had and their suggestion was to recompile perl
with a particular option.  After doing so, I was able to build mod_perl and
link it in dynamically.

And, now, my site is working like before.

Thanks to all the suggestions from earlier.

Eric


> -----Original Message-----
> From: Eric Wagar [mailto:ewagar@yahoo.com]
> Sent: Sunday, May 11, 2003 12:34 PM
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] Apache 1.3.27 not loading index.shtml
> 
> I'll do that, but after I recompile Apache.  :)
> 
> I remembered that the domain I am looking at has its own access and error
> log, where the main Apache has its own.  Oops, my bad.
> 
> After looking at access_log and error_log *instead* of
> www.domain.com.[access,error]_log, I saw the problem.
> 
> [Sun May 11 10:43:32 2003] [notice] child pid 8395 exit signal
> Segmentation
> Fault (11)
> 
> This is with and without php/frontpage loaded in.  My guess then is that
> mod_perl is wrecking havoc on the daemon.  I'll recompile apache with it
> to
> be a DSO, and load/play with Apache one mod at a time.
> 
> And, here I was thinking I was going crazy.  Instead, I was just
> overlooking
> the most crucial part of all.  :)
> 
> Eric
> 
> PS  I'll write back when the recompile is complete...and hopefully
> working.
> 
> 
> 
> > Eric Wagar wrote:
> > > The page I get when I enter in the URL without the index.shtml is a
> > standard
> > > IE "Cannot find server."
> > <snip>
> >
> > Can you toss us the link?
> 
> 
> 
> ---------------------------------------------------------------------
> 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


RE: [users@httpd] Apache 1.3.27 not loading index.shtml

Posted by Eric Wagar <ew...@yahoo.com>.
I'll do that, but after I recompile Apache.  :)

I remembered that the domain I am looking at has its own access and error
log, where the main Apache has its own.  Oops, my bad.

After looking at access_log and error_log *instead* of
www.domain.com.[access,error]_log, I saw the problem.

[Sun May 11 10:43:32 2003] [notice] child pid 8395 exit signal Segmentation
Fault (11)

This is with and without php/frontpage loaded in.  My guess then is that
mod_perl is wrecking havoc on the daemon.  I'll recompile apache with it to
be a DSO, and load/play with Apache one mod at a time.

And, here I was thinking I was going crazy.  Instead, I was just overlooking
the most crucial part of all.  :)

Eric

PS  I'll write back when the recompile is complete...and hopefully working.



> Eric Wagar wrote:
> > The page I get when I enter in the URL without the index.shtml is a
> standard
> > IE "Cannot find server."
> <snip>
> 
> Can you toss us the link?



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


Re: [users@httpd] Apache 1.3.27 not loading index.shtml

Posted by Joseph A Nagy Jr <jo...@charter.net>.
Mac Serve wrote:
> So, the url is http://<address.tld>/index.shtml? And you're wanting it 

That's how it should work

> to load the index.shtml page whenever you type in http://<address.tld> ? 

again that's how it should work. My problems all boiled down to
1) not having index.shtml in the DirectoryIndex option and
2) not having set the Addtype text/html .shtml AddHandler server-parsed 
.shtml

> Yes please, toss us the URL please.
> 
> Mike


If he can't even get to his own server though, something else is wrong.

If he's behind a router he'll need to open up port 80 to the server box.


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


Re: [users@httpd] Apache 1.3.27 not loading index.shtml

Posted by Mac Serve <ma...@ns.sympatico.ca>.
So, the url is http://<address.tld>/index.shtml? And you're wanting it 
to load the index.shtml page whenever you type in http://<address.tld> 
? Yes please, toss us the URL please.

Mike


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


Re: [users@httpd] Apache 1.3.27 not loading index.shtml

Posted by Joseph A Nagy Jr <jo...@charter.net>.
Eric Wagar wrote:
> The page I get when I enter in the URL without the index.shtml is a standard
> IE "Cannot find server."
<snip>

Can you toss us the link?


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


RE: [users@httpd] Apache 1.3.27 not loading index.shtml

Posted by Eric Wagar <ew...@yahoo.com>.
The page I get when I enter in the URL without the index.shtml is a standard
IE "Cannot find server."

> -----Original Message-----
> From: Mac Serve [mailto:macserve@ns.sympatico.ca]
> Sent: Sunday, May 11, 2003 10:54 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Apache 1.3.27 not loading index.shtml
> 
> Go to the page, view the source, and see if it shows the include
> virtual line. If it does, than something is not configured correctly.
> 
> 
> ---------------------------------------------------------------------
> 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


Re: [users@httpd] Apache 1.3.27 not loading index.shtml

Posted by Mac Serve <ma...@ns.sympatico.ca>.
Go to the page, view the source, and see if it shows the include 
virtual line. If it does, than something is not configured correctly.


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


RE: [users@httpd] Apache 1.3.27 not loading index.shtml

Posted by Eric Wagar <ew...@yahoo.com>.
I tried both the AllowOverride [None,All] and the same behavior exists
before and after the changes.

The shtml is added:
    AddType text/html .shtml
    AddHandler server-parsed .shtm

I'm more concerned that I don't see any access attempts or errors when I try
to access the webpage without the index.shtml specified.

eric

> -----Original Message-----
> From: Mac Serve [mailto:macserve@ns.sympatico.ca]
> Sent: Sunday, May 11, 2003 10:34 AM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Apache 1.3.27 not loading index.shtml
> 
> Huh. Didn't work for me. Anythings possible I suppose.
> 
> 
> ---------------------------------------------------------------------
> 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


Re: [users@httpd] Apache 1.3.27 not loading index.shtml

Posted by Mac Serve <ma...@ns.sympatico.ca>.
Huh. Didn't work for me. Anythings possible I suppose.


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


Re: [users@httpd] Apache 1.3.27 not loading index.shtml

Posted by Joseph A Nagy Jr <jo...@charter.net>.
Mac Serve wrote:
> Remember to set Allow Override from None to All! Thats what I did last 
> night when I installed 2.0.45! Good luck!

I have my Allow Override set to none for all my vhosts and in my main 
host config and it serves up index.shtml just fine.


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


Re: [users@httpd] Apache 1.3.27 not loading index.shtml

Posted by Mac Serve <ma...@ns.sympatico.ca>.
Remember to set Allow Override from None to All! Thats what I did last 
night when I installed 2.0.45! Good luck!


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