LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   URL missing "\" makes a difference (https://www.linuxquestions.org/questions/linux-server-73/url-missing-%5C-makes-a-difference-649694/)

wadigzon 06-16-2008 01:06 PM

URL missing "\" makes a difference
 
Hi there just today (it was working in the past)
I noticed that when I typed:

http://myserver/mantis

the web browser sends me to a page in Red Hat saying:
Page Not Found (404)
and shows me this address on the address bar:
http://www.redhat.com/mantis/

BUT when I type
http://myserver/mantis/

it works just fine, as it used to work in the past, as you can see, my server is hosting a Mantis server

thanks in advance, I'd appreciate for any ideas you might have

-wadi

ilikejam 06-17-2008 05:42 AM

Hmmm.

Going to http://myserver/mantis will have resulted in an HTTP 301 redirect to http://myserver/mantis/ . It may have redirected to the wrong place.

I'd check your 'ServerName' and 'VirtualHost' directives in httpd.conf and see if there's anything weird in there.

Dave

wadigzon 06-17-2008 08:02 PM

Quote:

Originally Posted by ilikejam (Post 3187179)
Hmmm.

Going to http://myserver/mantis will have resulted in an HTTP 301 redirect to http://myserver/mantis/ . It may have redirected to the wrong place.

I'd check your 'ServerName' and 'VirtualHost' directives in httpd.conf and see if there's anything weird in there.

Dave


Thanks that worked, I edited
/etc/httpd/conf/httpd.conf

changed the line (what the hell was that doing there?)
ServerName RedHat

with this:
ServerName my.ip.address

ilikejam 06-18-2008 02:39 AM

That's a bit odd. Ah well, as long as it's working...

Dave


All times are GMT -5. The time now is 12:19 PM.