e.s.t Posted May 25, 2010 Report Share Posted May 25, 2010 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 Forbidden 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:http://pastebin.com/eYrh1jWrhttp://pastebin.com/v16S6dam ps. I am not English native speaker, please forgive me my language Quote Link to comment Share on other sites More sharing options...
e.s.t Posted May 26, 2010 Author Report Share Posted May 26, 2010 Well, I found a problem, one should always check Apache Error Log :angry: "[Wed May 26 11:44:17 2010] [error] [client 127.0.0.1] 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.