[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Apache changes URL to HOSTNAME

Posted on 2007-10-19
2
Medium Priority
?
828 Views
Last Modified: 2012-08-14
I wish to access my local apache server both from my internal subnet and externally. Externally I use a no-ip.org-address and internally I use just the IP number. The problem is that with some web-applications (I think the ones specifying absolute paths to my local machine) the URL gets replaced by the host name, which is currently not usable even locally.

My question is: can I configure apache in some way so that it uses the URL of the request instead of inserting /etc/HOSTNAME?
0
Comment
Question by:obg
2 Comments
 
LVL 9

Accepted Solution

by:
svs earned 500 total points
ID: 20110626
UseCanonicalName Off
0
 
LVL 2

Author Comment

by:obg
ID: 20118503
Hrmm... That was way too simple! I'm a bit angry with myself not having found that switch myself.

Thank you, btw. Under normal circumstances I like simple solutions...
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
Loops Section Overview
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month18 days, 4 hours left to enroll

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question