Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

apache problem

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


Worryboy at hotmail

Jun 24, 2002, 11:18 AM

Post #1 of 24 (6095 views)
Permalink
apache problem

hello

i have a linux suse 7.2 distribution.
since i upgrade apache from 1.3.20 to 1.3.26 i have following problem..

if i type ( shell) httpd -v or as an ssi comand the output would be :

code:
<!--#echo var="SERVER_PROTOCOL" -->

output :
Apache/1.3.26 (Unix) mod_throttle/3.1.2 mod_layout/3.0 mod_gzip/1.3.19.1a mod_dtcl PHP/4.2.1 mod_perl/1.27 mod_fastcgi/2.2.12 mod_ssl/2.8.9 OpenSSL/0.9.6b

... the "SERVER_SOFTWARE" variable (also into the output of phpinfo of this variable )


but !!!
e.g. phpinfo shows under
apache version: Apache/1.3.20

??

or webmin ( in the httpd modul information )
Version 1.3.20-60

what goes wrong ??


thx for help .. worryboy



----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
german :

moin

ich hab ne suse 7.2 .. mit geupdateten apache 1.3.20 gehabt und habe mir nun den 1.3.26 neu raufgezogen ...

klappt auch alles ganz gut nur binn ich etwas verwirt da phpinfo und webmin (in der software info ) immer noch den alten 1.3.20 anzeigt obwohl der 1.3.26 läuft ....

richtig
Code:
<!--#echo var="SERVER_PROTOCOL" -->

Ausgabe :
Apache/1.3.26 (Unix) mod_throttle/3.1.2 mod_layout/3.0 mod_gzip/1.3.19.1a mod_dtcl PHP/4.2.1 mod_perl/1.27 mod_fastcgi/2.2.12 mod_ssl/2.8.9 OpenSSL/0.9.6b


falsch ( phpinfo )
Apache Version Apache/1.3.20

falsch (webmin)
Version 1.3.20-60

mach mach ich falsch was hab ich vergessen ??


axelseaa at amadmax

Aug 7, 2002, 5:01 PM

Post #2 of 24 (5989 views)
Permalink
RE: Apache Problem [In reply to]

Well this fix the problem for all directories???

---
Aaron Axelsen
AIM: AAAK2
Email: axelseaa[at]amadmax.com
URL: www.amadmax.com

"It said, ""Insert disk #3,"" but only two will fit!"
"One picture is worth 128K words."


-----Original Message-----
From: Abramow, Michael [JJPAU] [mailto:MABRAMOW[at]JJPAU.JNJ.COM]
Sent: Wednesday, August 07, 2002 6:58 PM
To: 'axelseaa[at]amadmax.com'
Subject: RE: Apache Problem


Use apaches mod_rewrite can simply fix the problem of the trailing slash
on URLs referencing directories.
Yours is missing & the server is causing an error, because if you say
/~quux/foo instead of /~quux/foo/ then the server searches for a file
named foo. And because this file is a directory it complains.

Solution:
solution to this is to let the server add the trailing slash
automatically. To do this correctly use an external redirect, so the
browser correctly requests subsequent images etc. If we only did a
internal rewrite, this would only work for the directory page, but would
go wrong when any images are included into this page with relative URLs,
because the browser would request an in-lined object. For instance, a
request for image.gif in /~quux/foo/index.html would become
/~quux/image.gif without the external redirect!
So, to do this trick we write:

RewriteEngine on
RewriteBase /~quux/
RewriteRule ^foo$ foo/ [R]




-----Original Message-----
From: Aaron Axelsen [mailto:
Sent: Thursday, August 08, 2002 9:49 AM
To: users[at]httpd.apache.org
Subject: Apache Problem


Whenever I try to load http://192.168.0.200/pics it doesn't work. But
if I do http://192.168.0.200/pics/ it works. How do I fix this?

---
Aaron Axelsen
AIM: AAAK2
Email: axelseaa[at]amadmax.com
URL: www.amadmax.com

"It said, ""Insert disk #3,"" but only two will fit!"
"One picture is worth 128K words."



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


axelseaa at amadmax

Aug 7, 2002, 5:36 PM

Post #3 of 24 (6078 views)
Permalink
RE: Apache Problem [In reply to]

The problem is that it isnt a domain, it is a local web server

---
Aaron Axelsen
AIM: AAAK2
Email: axelseaa[at]amadmax.com
URL: www.amadmax.com

"It said, ""Insert disk #3,"" but only two will fit!"
"One picture is worth 128K words."


-----Original Message-----
From: Joshua Slive [mailto:joshua[at]slive.ca]
Sent: Wednesday, August 07, 2002 7:31 PM
To: users[at]httpd.apache.org
Subject: Re: Apache Problem



On Wed, 7 Aug 2002, Aaron Axelsen wrote:

> Whenever I try to load http://192.168.0.200/pics it doesn't work. But

> if I do http://192.168.0.200/pics/ it works. How do I fix this?

http://httpd.apache.org/docs/misc/FAQ.html#set-servername

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


chris at phi-web

Aug 7, 2002, 5:40 PM

Post #4 of 24 (6021 views)
Permalink
Re: Apache Problem [In reply to]

Set the ServerName as "localhost" or whatever the machine's hostname is?

Chris Taylor - chris[at]phi-web.co.uk - The guy with the PS2 Webserver :)

----- Original Message -----
From: "Aaron Axelsen" <axelseaa[at]amadmax.com>
To: <users[at]httpd.apache.org>
Sent: Thursday, August 08, 2002 1:36 AM
Subject: RE: Apache Problem


> The problem is that it isnt a domain, it is a local web server
>
> ---
> Aaron Axelsen
> AIM: AAAK2
> Email: axelseaa[at]amadmax.com
> URL: www.amadmax.com
>
> "It said, ""Insert disk #3,"" but only two will fit!"
> "One picture is worth 128K words."
>
>
> -----Original Message-----
> From: Joshua Slive [mailto:joshua[at]slive.ca]
> Sent: Wednesday, August 07, 2002 7:31 PM
> To: users[at]httpd.apache.org
> Subject: Re: Apache Problem
>
>
>
> On Wed, 7 Aug 2002, Aaron Axelsen wrote:
>
> > Whenever I try to load http://192.168.0.200/pics it doesn't work. But
>
> > if I do http://192.168.0.200/pics/ it works. How do I fix this?
>
> http://httpd.apache.org/docs/misc/FAQ.html#set-servername
>
> Joshua.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
> For additional commands, e-mail: users-help[at]httpd.apache.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
> For additional commands, e-mail: users-help[at]httpd.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


axelseaa at amadmax

Aug 7, 2002, 5:54 PM

Post #5 of 24 (6028 views)
Permalink
RE: Apache Problem [In reply to]

My server name is set to Alpha. However, the majority of the time it is
accessed by ip address or via a internet dns redirect like dns2go

---
Aaron Axelsen
AIM: AAAK2
Email: axelseaa[at]amadmax.com
URL: www.amadmax.com

"It said, ""Insert disk #3,"" but only two will fit!"
"One picture is worth 128K words."


-----Original Message-----
From: Chris Taylor [mailto:chris[at]phi-web.co.uk]
Sent: Wednesday, August 07, 2002 7:41 PM
To: users[at]httpd.apache.org
Subject: Re: Apache Problem


Set the ServerName as "localhost" or whatever the machine's hostname is?

Chris Taylor - chris[at]phi-web.co.uk - The guy with the PS2 Webserver :)

----- Original Message -----
From: "Aaron Axelsen" <axelseaa[at]amadmax.com>
To: <users[at]httpd.apache.org>
Sent: Thursday, August 08, 2002 1:36 AM
Subject: RE: Apache Problem


> The problem is that it isnt a domain, it is a local web server
>
> ---
> Aaron Axelsen
> AIM: AAAK2
> Email: axelseaa[at]amadmax.com
> URL: www.amadmax.com
>
> "It said, ""Insert disk #3,"" but only two will fit!"
> "One picture is worth 128K words."
>
>
> -----Original Message-----
> From: Joshua Slive [mailto:joshua[at]slive.ca]
> Sent: Wednesday, August 07, 2002 7:31 PM
> To: users[at]httpd.apache.org
> Subject: Re: Apache Problem
>
>
>
> On Wed, 7 Aug 2002, Aaron Axelsen wrote:
>
> > Whenever I try to load http://192.168.0.200/pics it doesn't work.
> > But
>
> > if I do http://192.168.0.200/pics/ it works. How do I fix this?
>
> http://httpd.apache.org/docs/misc/FAQ.html#set-servername
>
> Joshua.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
> For additional commands, e-mail: users-help[at]httpd.apache.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
> For additional commands, e-mail: users-help[at]httpd.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


chris at phi-web

Aug 7, 2002, 5:57 PM

Post #6 of 24 (6017 views)
Permalink
Re: Apache Problem [In reply to]

Then set it to your dns2go address, you'll still be able to access it via IP
and local hostname. Well, it's working for me :)

Chris Taylor - chris[at]phi-web.co.uk - The guy with the PS2 Webserver :)

----- Original Message -----
From: "Aaron Axelsen" <axelseaa[at]amadmax.com>
To: <users[at]httpd.apache.org>
Cc: <chris[at]phi-web.co.uk>
Sent: Thursday, August 08, 2002 1:54 AM
Subject: RE: Apache Problem


> My server name is set to Alpha. However, the majority of the time it is
> accessed by ip address or via a internet dns redirect like dns2go
>
> ---
> Aaron Axelsen
> AIM: AAAK2
> Email: axelseaa[at]amadmax.com
> URL: www.amadmax.com
>
> "It said, ""Insert disk #3,"" but only two will fit!"
> "One picture is worth 128K words."


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


axelseaa at amadmax

Aug 7, 2002, 6:01 PM

Post #7 of 24 (6016 views)
Permalink
RE: Apache Problem [In reply to]

Nope .. Doesn't fix it

---
Aaron Axelsen
AIM: AAAK2
Email: axelseaa[at]amadmax.com
URL: www.amadmax.com

"It said, ""Insert disk #3,"" but only two will fit!"
"One picture is worth 128K words."


-----Original Message-----
From: Chris Taylor [mailto:chris[at]phi-web.co.uk]
Sent: Wednesday, August 07, 2002 7:57 PM
To: users[at]httpd.apache.org
Subject: Re: Apache Problem


Then set it to your dns2go address, you'll still be able to access it
via IP and local hostname. Well, it's working for me :)

Chris Taylor - chris[at]phi-web.co.uk - The guy with the PS2 Webserver :)

----- Original Message -----
From: "Aaron Axelsen" <axelseaa[at]amadmax.com>
To: <users[at]httpd.apache.org>
Cc: <chris[at]phi-web.co.uk>
Sent: Thursday, August 08, 2002 1:54 AM
Subject: RE: Apache Problem


> My server name is set to Alpha. However, the majority of the time it
> is accessed by ip address or via a internet dns redirect like dns2go
>
> ---
> Aaron Axelsen
> AIM: AAAK2
> Email: axelseaa[at]amadmax.com
> URL: www.amadmax.com
>
> "It said, ""Insert disk #3,"" but only two will fit!"
> "One picture is worth 128K words."


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


chris at phi-web

Aug 7, 2002, 6:04 PM

Post #8 of 24 (6019 views)
Permalink
Re: Apache Problem [In reply to]

Hmmm, I'm running out of ideas.

I take it you're using the newest version of Apache (1.3.26 or 2.0.39) and
everything else is otherwise fine? Also, the /pics/ folder isn't an alias or
a proxied server?

I found that I have to include a trailing slash for proxies at least :)

Hopefully someone else can be of more help, 2AM isn't my best time ;)

Chris Taylor - chris[at]phi-web.co.uk - The guy with the PS2 Webserver :)
----- Original Message -----
From: "Aaron Axelsen" <axelseaa[at]amadmax.com>
To: <users[at]httpd.apache.org>
Cc: <chris[at]phi-web.co.uk>
Sent: Thursday, August 08, 2002 2:01 AM
Subject: RE: Apache Problem


> Nope .. Doesn't fix it
>
> ---
> Aaron Axelsen
> AIM: AAAK2
> Email: axelseaa[at]amadmax.com
> URL: www.amadmax.com
>
> "It said, ""Insert disk #3,"" but only two will fit!"
> "One picture is worth 128K words."
>
>
> -----Original Message-----
> From: Chris Taylor [mailto:chris[at]phi-web.co.uk]
> Sent: Wednesday, August 07, 2002 7:57 PM
> To: users[at]httpd.apache.org
> Subject: Re: Apache Problem
>
>
> Then set it to your dns2go address, you'll still be able to access it
> via IP and local hostname. Well, it's working for me :)
>
> Chris Taylor - chris[at]phi-web.co.uk - The guy with the PS2 Webserver :)
>
> ----- Original Message -----
> From: "Aaron Axelsen" <axelseaa[at]amadmax.com>
> To: <users[at]httpd.apache.org>
> Cc: <chris[at]phi-web.co.uk>
> Sent: Thursday, August 08, 2002 1:54 AM
> Subject: RE: Apache Problem
>
>
> > My server name is set to Alpha. However, the majority of the time it
> > is accessed by ip address or via a internet dns redirect like dns2go
> >
> > ---
> > Aaron Axelsen
> > AIM: AAAK2
> > Email: axelseaa[at]amadmax.com
> > URL: www.amadmax.com
> >
> > "It said, ""Insert disk #3,"" but only two will fit!"
> > "One picture is worth 128K words."
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
> For additional commands, e-mail: users-help[at]httpd.apache.org
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
> For additional commands, e-mail: users-help[at]httpd.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


jaqui at shaw

Aug 7, 2002, 6:08 PM

Post #9 of 24 (6017 views)
Permalink
Re: Apache Problem [In reply to]

the trailing slash isn't in the defs for the dir?
if so you need it for the url, if not it should work without.

Chris Taylor wrote:
> Hmmm, I'm running out of ideas.
>
> I take it you're using the newest version of Apache (1.3.26 or 2.0.39) and
> everything else is otherwise fine? Also, the /pics/ folder isn't an alias or
> a proxied server?
>
> I found that I have to include a trailing slash for proxies at least :)
>
> Hopefully someone else can be of more help, 2AM isn't my best time ;)
>
> Chris Taylor - chris[at]phi-web.co.uk - The guy with the PS2 Webserver :)
> ----- Original Message -----
> From: "Aaron Axelsen" <axelseaa[at]amadmax.com>
> To: <users[at]httpd.apache.org>
> Cc: <chris[at]phi-web.co.uk>
> Sent: Thursday, August 08, 2002 2:01 AM
> Subject: RE: Apache Problem
>
>
>
>>Nope .. Doesn't fix it
>>
>>---
>>Aaron Axelsen
>>AIM: AAAK2
>>Email: axelseaa[at]amadmax.com
>>URL: www.amadmax.com
>>
>>"It said, ""Insert disk #3,"" but only two will fit!"
>>"One picture is worth 128K words."
>>
>>
>>-----Original Message-----
>>From: Chris Taylor [mailto:chris[at]phi-web.co.uk]
>>Sent: Wednesday, August 07, 2002 7:57 PM
>>To: users[at]httpd.apache.org
>>Subject: Re: Apache Problem
>>
>>
>>Then set it to your dns2go address, you'll still be able to access it
>>via IP and local hostname. Well, it's working for me :)
>>
>>Chris Taylor - chris[at]phi-web.co.uk - The guy with the PS2 Webserver :)
>>
>>----- Original Message -----
>>From: "Aaron Axelsen" <axelseaa[at]amadmax.com>
>>To: <users[at]httpd.apache.org>
>>Cc: <chris[at]phi-web.co.uk>
>>Sent: Thursday, August 08, 2002 1:54 AM
>>Subject: RE: Apache Problem
>>
>>
>>
>>>My server name is set to Alpha. However, the majority of the time it
>>>is accessed by ip address or via a internet dns redirect like dns2go
>>>
>>>---
>>>Aaron Axelsen
>>>AIM: AAAK2
>>>Email: axelseaa[at]amadmax.com
>>>URL: www.amadmax.com
>>>
>>>"It said, ""Insert disk #3,"" but only two will fit!"
>>>"One picture is worth 128K words."
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
>>For additional commands, e-mail: users-help[at]httpd.apache.org
>>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
>>For additional commands, e-mail: users-help[at]httpd.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
> For additional commands, e-mail: users-help[at]httpd.apache.org
>
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


joshua at slive

Aug 7, 2002, 6:20 PM

Post #10 of 24 (6008 views)
Permalink
RE: Apache Problem [In reply to]

On Wed, 7 Aug 2002, Aaron Axelsen wrote:

> My server name is set to Alpha. However, the majority of the time it is
> accessed by ip address or via a internet dns redirect like dns2go

Use
ServerName 192.168.0.200
or
UseCanonicalName off

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


axelseaa at amadmax

Aug 8, 2002, 10:07 AM

Post #11 of 24 (5988 views)
Permalink
RE: Apache Problem [In reply to]

That didn't help at all either

---
Aaron Axelsen
AIM: AAAK2
Email: axelseaa[at]amadmax.com
URL: www.amadmax.com

"It said, ""Insert disk #3,"" but only two will fit!"
"One picture is worth 128K words."


-----Original Message-----
From: Joshua Slive [mailto:joshua[at]slive.ca]
Sent: Wednesday, August 07, 2002 8:20 PM
To: users[at]httpd.apache.org
Cc: chris[at]phi-web.co.uk
Subject: RE: Apache Problem



On Wed, 7 Aug 2002, Aaron Axelsen wrote:

> My server name is set to Alpha. However, the majority of the time it
> is accessed by ip address or via a internet dns redirect like dns2go

Use
ServerName 192.168.0.200
or
UseCanonicalName off

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


joshua at slive

Aug 8, 2002, 10:35 AM

Post #12 of 24 (6012 views)
Permalink
Re: Apache Problem [In reply to]

Aaron Axelsen wrote:
> That didn't help at all either

Uhh... Then you are way off base. That is the correct solution to the
trailing-slash redirect problem. Are you restarting your server after
making config changes. Are you editting the correct config file? Are
you using a static IP address? Did you really set "UseCanonicalName off"?

If you answer all of those in the affirmative, please restate your
question in detail, and include an Internet-accessible URL that we can test.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


joshua at slive

Aug 8, 2002, 11:36 AM

Post #13 of 24 (6014 views)
Permalink
Re: Apache Problem [In reply to]

Aaron Axelsen wrote:
> Yes I am editing the correct file, use I really set UseCanonicalName
> off. [...]
>
> Still nothing seems to work without the slash. See for your self at:
> [...]

Start by trying with a directory that is not password protected. For
one thing, I can't test by hand a password protected directory (without
going through the bother of base64 encoding the password, etc). For
another thing, my best guess is that you have an ErrorDocument 401 that
is doing something nasty. To figure it out, start by using
non-protected directory.

Also, please keep it on the mailing list where everyone can help. Out
of politeness, I deleted the potentially "private" info that you sent
me, but I see no reason why you should need to keep this private at all.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


axelseaa at amadmax

Aug 8, 2002, 12:08 PM

Post #14 of 24 (6021 views)
Permalink
RE: Apache Problem [In reply to]

I didn't mean to exclude the list from the last email, it was
accidental. I do have these errordocs set up. But I disabled those,
and tried it locally without the .htaccess file and the directory
security. Still no go.

---
Aaron Axelsen
AIM: AAAK2
Email: axelseaa[at]amadmax.com
URL: www.amadmax.com

"It said, ""Insert disk #3,"" but only two will fit!"
"One picture is worth 128K words."


-----Original Message-----
From: Joshua Slive [mailto:joshua[at]slive.ca]
Sent: Thursday, August 08, 2002 1:36 PM
To: Aaron Axelsen; users[at]httpd.apache.org
Subject: Re: Apache Problem


Aaron Axelsen wrote:
> Yes I am editing the correct file, use I really set UseCanonicalName
> off. [...]
>
> Still nothing seems to work without the slash. See for your self at:
> [...]

Start by trying with a directory that is not password protected. For
one thing, I can't test by hand a password protected directory (without
going through the bother of base64 encoding the password, etc). For
another thing, my best guess is that you have an ErrorDocument 401 that
is doing something nasty. To figure it out, start by using
non-protected directory.

Also, please keep it on the mailing list where everyone can help. Out
of politeness, I deleted the potentially "private" info that you sent
me, but I see no reason why you should need to keep this private at all.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


axelseaa at amadmax

Aug 8, 2002, 12:20 PM

Post #15 of 24 (6020 views)
Permalink
RE: Apache Problem [In reply to]

Here is a directory that isnt password protected

http://alpha.frozenpc.net/test/ works but

http://alpha.frozenpc.net/test doesnt

---
Aaron Axelsen
AIM: AAAK2
Email: axelseaa[at]amadmax.com
URL: www.amadmax.com

"It said, ""Insert disk #3,"" but only two will fit!"
"One picture is worth 128K words."


-----Original Message-----
From: Joshua Slive [mailto:joshua[at]slive.ca]
Sent: Thursday, August 08, 2002 1:36 PM
To: Aaron Axelsen; users[at]httpd.apache.org
Subject: Re: Apache Problem


Aaron Axelsen wrote:
> Yes I am editing the correct file, use I really set UseCanonicalName
> off. [...]
>
> Still nothing seems to work without the slash. See for your self at:
> [...]

Start by trying with a directory that is not password protected. For
one thing, I can't test by hand a password protected directory (without
going through the bother of base64 encoding the password, etc). For
another thing, my best guess is that you have an ErrorDocument 401 that
is doing something nasty. To figure it out, start by using
non-protected directory.

Also, please keep it on the mailing list where everyone can help. Out
of politeness, I deleted the potentially "private" info that you sent
me, but I see no reason why you should need to keep this private at all.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


joshua at slive

Aug 8, 2002, 12:30 PM

Post #16 of 24 (6016 views)
Permalink
Re: Apache Problem [In reply to]

Aaron Axelsen wrote:
> Here is a directory that isnt password protected
>
> http://alpha.frozenpc.net/test/ works but
>
> http://alpha.frozenpc.net/test doesnt

Much better. Here are the results of my quick test:

GET /test HTTP/1.1
Host: alpha.frozenpc.net

HTTP/1.1 301 Moved Permanently
Date: Thu, 08 Aug 2002 19:28:47 GMT
Server: Apache/1.3.23 (Unix) (Red-Hat/Linux) mod_python/2.7.6
Python/1.5.2 mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.2.1
mod_perl/1.26 mod_throttle/3.1.2
Last-Modified: Sun, 14 Jul 2002 18:28:50 GMT
ETag: "398149-7f1-3d31c2e2"
Accept-Ranges: bytes
Content-Length: 2033
Connection: close
Content-Type: text/html

<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
[...]

This shows that the server is sending a redirect with no Location:
header, which means the client doesn't know where to go. Now, the
question is why.

My first guess is an ErrorDocument. The content of the 301 response is
clearly not an internal apache page. Do you have an "ErrorDocument 301"
in your config file? If so, try removing that and see if it fixes
things. If not, can you tell me where this "sorry, I'm broken" page is
coming from? It shouldn't be in 301 responses.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


lfellows at 4lane

Aug 8, 2002, 12:41 PM

Post #17 of 24 (6001 views)
Permalink
RE: Apache Problem [In reply to]

On Thu, 2002-08-08 at 15:20, Aaron Axelsen wrote:
> Here is a directory that isnt password protected
>
> http://alpha.frozenpc.net/test/ works but
>
> http://alpha.frozenpc.net/test doesnt
>
> ---
> Aaron Axelsen
> AIM: AAAK2
> Email: axelseaa[at]amadmax.com
> URL: www.amadmax.com
>
> "It said, ""Insert disk #3,"" but only two will fit!"
> "One picture is worth 128K words."
>
>
> -----Original Message-----
> From: Joshua Slive [mailto:joshua[at]slive.ca]
> Sent: Thursday, August 08, 2002 1:36 PM
> To: Aaron Axelsen; users[at]httpd.apache.org
> Subject: Re: Apache Problem
>
>
> Aaron Axelsen wrote:
> > Yes I am editing the correct file, use I really set UseCanonicalName
> > off. [...]
> >
> > Still nothing seems to work without the slash. See for your self at:
> > [...]
>
> Start by trying with a directory that is not password protected. For
> one thing, I can't test by hand a password protected directory (without
> going through the bother of base64 encoding the password, etc). For
> another thing, my best guess is that you have an ErrorDocument 401 that
> is doing something nasty. To figure it out, start by using
> non-protected directory.
>
> Also, please keep it on the mailing list where everyone can help. Out
> of politeness, I deleted the potentially "private" info that you sent
> me, but I see no reason why you should need to keep this private at all.
>
> Joshua.
>
>

I do not see a problem when using either URL.




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


axelseaa at amadmax

Aug 8, 2002, 12:51 PM

Post #18 of 24 (6018 views)
Permalink
RE: Apache Problem [In reply to]

That's cause I removed the error 301 doc .. What is it about that doc
that made it not work?

---
Aaron Axelsen
AIM: AAAK2
Email: axelseaa[at]amadmax.com
URL: www.amadmax.com

"It said, ""Insert disk #3,"" but only two will fit!"
"One picture is worth 128K words."


-----Original Message-----
From: Joshua Slive [mailto:joshua[at]slive.ca]
Sent: Thursday, August 08, 2002 2:30 PM
To: Aaron Axelsen; users[at]httpd.apache.org
Subject: Re: Apache Problem


Aaron Axelsen wrote:
> Here is a directory that isnt password protected
>
> http://alpha.frozenpc.net/test/ works but
>
> http://alpha.frozenpc.net/test doesnt

Much better. Here are the results of my quick test:

GET /test HTTP/1.1
Host: alpha.frozenpc.net

HTTP/1.1 301 Moved Permanently
Date: Thu, 08 Aug 2002 19:28:47 GMT
Server: Apache/1.3.23 (Unix) (Red-Hat/Linux) mod_python/2.7.6
Python/1.5.2 mod_ssl/2.8.7 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.2.1
mod_perl/1.26 mod_throttle/3.1.2
Last-Modified: Sun, 14 Jul 2002 18:28:50 GMT
ETag: "398149-7f1-3d31c2e2"
Accept-Ranges: bytes
Content-Length: 2033
Connection: close
Content-Type: text/html

<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
[...]

This shows that the server is sending a redirect with no Location:
header, which means the client doesn't know where to go. Now, the
question is why.

My first guess is an ErrorDocument. The content of the 301 response is
clearly not an internal apache page. Do you have an "ErrorDocument 301"

in your config file? If so, try removing that and see if it fixes
things. If not, can you tell me where this "sorry, I'm broken" page is
coming from? It shouldn't be in 301 responses.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


joshua at slive

Aug 8, 2002, 1:01 PM

Post #19 of 24 (6024 views)
Permalink
Re: Apache Problem [In reply to]

Aaron Axelsen wrote:
> That's cause I removed the error 301 doc .. What is it about that doc
> that made it not work?

Don't know. In general, using a 301 ErrorDocument is rather pointless.
No user will ever see the content of this doc if things are working
correctly. I'm not even sure if the the use of ErrorDocument for status
codes less than 400 is even really allowed. I just tried it in 2.0, and
it does really funky things there (multiple Location: lines in the
response).

If you think this is a really important feature, you can post to the
apache bug database. But make sure that you can get the same effect
with a very simple errordocument that is not processed by any php/ssi/etc.

Joshua.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


bkayma at cypresscom

Feb 27, 2003, 6:25 PM

Post #20 of 24 (5987 views)
Permalink
RE: Apache Problem [In reply to]

looks like a simple config error on line 366 of http.conf

perhaps a # comment sign at the end of the line

BK



-----Original Message-----
From: Daniel Berg [mailto:compgod[at]mchsi.com]
Sent: Thursday, February 27, 2003 8:24 PM
To: users[at]httpd.apache.org
Subject: [users[at]httpd] Apache Problem


I am having problems with my apache install. Every time I try and start
it I get an error message saying

Starting httpd: [Thu Feb 27 19:37:29 2003] [warn] Apache does not
support line-end comments. Consider using quotes around argument: "#-1"
Syntax error on line 366 of /etc/httpd/conf/httpd.conf:
Invalid command 'UserDir', perhaps mis-spelled or defined by a module not
included in the server configuration
[FAILED]

I am running the latest stable version 2.0.44 so I am confused.

Thanks for any help,

Dan

---------------------------------------------------------------------
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[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]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[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


hylinux at gmail

Mar 1, 2007, 6:29 PM

Post #21 of 24 (5989 views)
Permalink
Re: Apache Problem [In reply to]

could you give some error logs ?


linuxs at gmail

Mar 2, 2007, 2:18 AM

Post #22 of 24 (6024 views)
Permalink
Re: Apache Problem [In reply to]

There are no error logs, jus it dont start :(




On 3/2/07, $B2+3p(B <hylinux[at]gmail.com> wrote:
>
> could you give some error logs ?
>
>
>


Owen.Boyle at swx

Mar 2, 2007, 2:54 AM

Post #23 of 24 (6022 views)
Permalink
RE: Apache Problem [In reply to]

> -----Original Message-----
> From: linux guru [mailto:linuxs[at]gmail.com]
> Sent: Friday, March 02, 2007 11:18 AM
> To: users[at]httpd.apache.org
> Subject: Re: [users[at]httpd] Apache Problem
>
> There are no error logs, jus it dont start :(

You absolutely *must* have an error log if httpd is trying to start...
Either:

- you are not looking in the correct place for the logs (check ErrorLog directive and/or do httpd -V and look for HTTPD_ROOT)
- the start script that is supposed to start apache is not getting as far as the line where it calls "httpd" - check the script..

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored.

PS - would you mind using plain-text please?
>
>
>
>
> On 3/2/07, $B2+3p(B <hylinux[at]gmail.com> wrote:
>
> could you give some error logs ?
>
>
>
>
>
>


This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender$B!G(Bs company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender$B!G(Bs company.

---------------------------------------------------------------------
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[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


Ming.Yu at jhuapl

Mar 2, 2007, 6:09 AM

Post #24 of 24 (6003 views)
Permalink
RE: Apache Problem [In reply to]

check if you have a directory created for the log file?

________________________________

From: linux guru [mailto:linuxs[at]gmail.com]
Sent: Friday, March 02, 2007 5:18 AM
To: users[at]httpd.apache.org
Subject: Re: [users[at]httpd] Apache Problem


There are no error logs, jus it dont start :(




On 3/2/07, $B2+3p(J <hylinux[at]gmail.com> wrote:

could you give some error logs ?

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.