LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 03-29-2004, 08:54 AM   #1
elitecodex
Member
 
Registered: Feb 2004
Location: MD
Distribution: Fedora 9
Posts: 129

Rep: Reputation: 15
Apache - Redirection problem...


I have a clean install of MDK 10 CE. When I attempt to view use the webserver, it works ok. I get the page for ADVX. I then created a public_html folder in my home directory and attempted to access it via the internet at http://10.0.0.1/~username

Thats not my real IP but you get the point. When I type that in, it redirects me to http://127.0.0.1/~username. Why does it do this and how can I go about fixing it? Ive never had this problem before... I didnt even change any of the configurations. Its all the defaults.

Thanks for any help in advance.
 
Old 03-29-2004, 01:40 PM   #2
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
are you viewing this localy? ie from the server it self or are you viewing it from one of your other computers in your LAN, still local mind you?

if you are viewing from the server that could explain the redirec to 127.0.0.1 as that is the defualt for your loopback on your NIC.

if you are viewing it from your LAN it should not do that as it will then point to the comptuer you are looking from and not the server.

if you are trying to come to it like you would from the outside, that will not work.

at least that is how i understand it. im sure one of the real gurus around here can correct me if im wrong.
 
Old 03-29-2004, 03:01 PM   #3
elitecodex
Member
 
Registered: Feb 2004
Location: MD
Distribution: Fedora 9
Posts: 129

Original Poster
Rep: Reputation: 15
Thank you for your input Lleb_KCir

Heh... here's the wierd part.

I am accessing it from outside the network (over the net). In the public_html folder, I have a file 'imagetype.c' which I can directly access and obtain with no problem. I have an index.html file which is just plain HTML. I can access it with no problem via FTP. SSH is another issue...

Thats the update... any help is greatly appreciated.
 
Old 03-29-2004, 03:43 PM   #4
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
when you access from the WAN does it still try to redirect you to the loopback IP?
 
Old 03-29-2004, 09:35 PM   #5
elitecodex
Member
 
Registered: Feb 2004
Location: MD
Distribution: Fedora 9
Posts: 129

Original Poster
Rep: Reputation: 15
Correct
 
Old 03-29-2004, 11:12 PM   #6
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
oh yuck, then something is definately funny, and you are now over my head.

sorry.
 
  


Reply


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
Apache - Website Redirection Help cbarone2005 Linux - Software 2 09-29-2005 03:45 PM
Redirection in Apache gonzo22 Linux - Networking 5 02-12-2005 10:54 AM
Apache redirection question... WeNdeL Linux - Software 2 04-01-2004 11:48 AM
Minor output redirection problem.. Tyir Linux - General 0 01-27-2004 10:13 PM
apache redirection failing acid_kewpie Linux - Networking 2 08-15-2002 05:29 PM


All times are GMT -5. The time now is 01:10 PM.

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