Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache/Alias question just using ip address and no host name
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
cslyon
n00b
n00b


Joined: 21 Apr 2004
Posts: 68
Location: California

PostPosted: Tue Mar 01, 2005 10:37 pm    Post subject: Apache/Alias question just using ip address and no host name Reply with quote

I have put in an alias, see code below, to a directory on the system. Once I hit the root page by IP address, everything comes up fine. When I try to hit the alias http://1.1.1.1/reports it is trying to connect to the host name/reports. If I hit the host name everything works great but I can't use the host name on everything because I don't control the DNS servers. Is there a way to just use the IP address for the aliases?



Sorry maybe a simple question but I don't seem to be looking in the right areas to find the solution.

Code:
Alias /reports    /customer/reports

 
<Directory /customer/reports >
        Order allow,deny
        Allow from all
</Directory>
 
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Tue Mar 01, 2005 11:00 pm    Post subject: Reply with quote

I think you need to set UseCanonicalName to off
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum