Jump to content
The Uniform Server Community

VirtualHost outside www root folder and 403 error


Recommended Posts

First of all, thank you for US, it is really, really great.


I wanted to set up Vhost outside regular www root.

I've set ic.localhost:80 but can not access it:


http://ic.localhost/, gives 403 error




You don't have permission to access / on this server.


I already figured out that there is problem with .htaccess file in the 'public' folder with index.php.

Well, I already had this running (with another wamp), but here it for some reason doesn't like mod_rewrite.

If I set RewriteEngine to Off, I can normally run ...\public\index.php, and it works (of course, there are errors, as rewrite rules are neccessary), then again I set it rules to On, and I have mentioned 403 error.


I would really appreciate any hint, this may be just some small setting I must change, about which I don't know...



My files:




ps. I am not English native speaker, please forgive me my language

Link to comment
Share on other sites

Well, I found a problem, one should always check Apache Error Log :angry:


"[Wed May 26 11:44:17 2010] [error] [client] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: [...]"


So all I needed to do is to add: "Options FollowSymLinks" in my VirtualHost block

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.

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.


  • Create New...