Jump to content
The Uniform Server Community

Changing document root to link dir containing spaces crashes apache.


Znote
 Share

Recommended Posts

In order to update virtual hosts, you need to reboot apache. After writing in a document root in /apanel/ containing a space apache won't start at all

 

Works: E:\ftpuser\www

 

Buggy: E:\ftp user\www

 

Solution:

 

You need to edit UniServer\usr\local\apache2\conf\httpd.conf and edit the virtual host.

Open httpd.conf in a text document, scroll at the bottom, locate your virtual host.

 

Sample:

##########VIRTUAL HOST SETUP##########
# QUEST.ZNOTE.EU
<VirtualHost *>
ServerName quest.znote.eu
DocumentRoot E:/quest www
</VirtualHost>

 

You can see the dir:

DocumentRoot E:/quest www

 

Add the " symbol in the start and end of the dir, like this:

DocumentRoot "E:/quest www"

 

Save document, now start apache. It will work. :)

I am representing the open tibia community otland.net
otland.net is contributing open source server software to an 2d mmorpg game called Tibia.

Here are some Uniform server tutorials/guide contributions from me:
VIDEO TUTORIAL: I teach newbreeds to install and operate uniform server: (Updated for Coral 8.x)
http://youtu.be/AsyxPhDTOcI

Uniform Server newbie guide:
Securely installing Uniform Server for total newbeginners:
http://otland.net/f479/nothing-fully-worki...-0-3-6-a-77593/
(also contains how to get our open source tibia game, and connect it successfully to the uniform mysql server).

How to add a website for our open source tibia game which includes highscore, create account and so on: (On uniform server)
http://otland.net/f479/website-installing-...m-server-91951/

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...