Jump to content
The Uniform Server Community

URL Bug in Uniform Server


kazooter
 Share

Recommended Posts

In the most recent two versions of Uniform Server (didn't check further back), if the website root has a directory called docs and you try to access it via a browser (http://localhost/docs/index.htm), the page is not found because the server looks in its own 'udrive/docs' directory for the file. You can see this if you type http://localhost/docs in the browser -- you get a list of all files in udrive/docs. I could not find a config or .htaccess problem here. I am complying with this site's directive to post it here before reporting it as a bug.

Link to comment
Share on other sites

It’s not a bug you can tailor the server to meet your own requirements hence if you want a “docs” folder in the server root edit Apache’s configuration file. Change Uniform Server’s docs alias to something else.

 

For example:

Edit file: UniServer4_3\UniServer\udrive\usr\local\apache2\conf\httpd.conf

Locate this line (552): Alias /docs "/docs/"

Change to: Alias /uni_docs "/docs/"

 

Browser links become:

http://localhost/uni_docs/ -- Uniform Server documentation

http://localhost/docs/ -- Your server root documentation

 

All the best

Ric :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...