Jump to content

Localhost works URL does not


jimneely

Recommended Posts

Hi all, I have a bit of a problem. I am writing code to access files on my company server. I can do this using Localhost but when I use the URL it does not. I have tried several different lines but nothing seems to work. I as sure this is like cant see the tree for the forest. Thanks in advance for your help. Below is the URL's I use and the attached file is the HTML code I am trying to make work.

 

http://Localhost/

http://usq73749.com

 

 

Apache Error Log File "does not exist: C:/Web/S-fs-2, referrer: http://usq73749.com/"

Edited by jimneely
Link to comment
Share on other sites

I'm sorry these are Intranet nor Internet URL's. They can not be pulled up outside my company. I attached the code that uses HTML and are simple links (well not so simple for me). You will see a couple of the links use http will others use directory paths only. In the Localhost I can access the directory paths just fine but in using my usq73749.com it does not work. I hope this helps

Link to comment
Share on other sites

Unfortunately, I don't see any code attached to your posts.

the links look something like this::

href:s-fs2path ,,,,, this works in localhost but not in usq73749.com

 

I tried

href:http:usq73749.coms-fs2path this does not...

I am leaning to the Apache Server Alisis to fix this.... Maybe??? your thoughts please

Link to comment
Share on other sites

URLs only use forward slashes, backslashes work on your local computer likely because it's running Windows.

 

Links should look like any of the following:

<a href="http://domain.com/path/file.html">Full URL</a><a href="/path/file.html">Path from domain root</a><a href="path/file.html">Path from current location</a><a href="file.html">Path from current location</a>
  • Like 1
Link to comment
Share on other sites

Well I have gotten somewhere Thanks. I changed one of my links and now I am getting a Network Block from the server. This means I finally hit the server and I am being refused access to the server. This I can fix thru my IT Dept. Here is how the link looks now. Thanks Foxy Mod !!!!

 

<a href="http://usq73749.com//s-fs2/file.mdb">Database</a>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...