Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-20-2004, 06:03 PM   #1
LQ Newbie
Registered: Jun 2004
Posts: 6

Rep: Reputation: 0
What would cause www to disappear?

I'm running redhat linux with apache and if I navigate to my site without ending in a / then it basically redirects and strips off the worldwideweb.

It's kind of hard to explain without showing an example, but I'm not allowed to type URL's.
Old 06-20-2004, 06:06 PM   #2
Registered: Jun 2004
Location: Denton
Distribution: debian, freebsd
Posts: 121

Rep: Reputation: 15
are you talking about the site that runs off your apache?
Old 06-20-2004, 06:15 PM   #3
LQ Newbie
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Yep. So I guess that means it's an apache setting? I figured it was probably something in the .htaccess but I'm not sure what would do it. I've tried temporary deleting .htaccess and get the same results.
Old 06-20-2004, 06:34 PM   #4
LQ Newbie
Registered: Jun 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I found a way around it. I was searching on another forum and came across a suggestion to add the following to your .htaccess:

RewriteEngine On
RewriteCond %{HTTP_HOST} [NC]
RewriteRule ^{REQUEST_URI} [R,L]
I think there is a way to do this serverwide though.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IP disappear after reboot... frankpretec Linux - Networking 1 04-07-2005 01:37 PM
will everything disappear, when i install? iurodivii Linux - Newbie 6 01-29-2005 03:25 AM
difference between and dr_zayus69 General 4 01-12-2005 02:45 PM
Why do some commands disappear??? mandelchan Linux - General 8 04-22-2004 12:50 PM
Just bought and Whitehat General 15 05-08-2003 12:31 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:55 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration