cslyon n00b
Joined: 21 Apr 2004 Posts: 68 Location: California
|
Posted: Tue Mar 01, 2005 10:37 pm Post subject: Apache/Alias question just using ip address and no host name |
|
|
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>
|
|
|