quanpq Posted October 12, 2010 Share Posted October 12, 2010 run file .htaccessOptions +FollowSymLinksRewriteEngine onRewriteRule ^index.html$ index.phpYou don't have permission to access /C:/AppServ/www/demo/htaccess/index.php on this server. Link to comment Share on other sites More sharing options...
boen_robot Posted October 12, 2010 Share Posted October 12, 2010 If it says it, it's right... the question is if that's indeed what you're trying to do.What are you trying to do anyway?If the file path is correct, then perhaps what you need to do is allow contents from the folder to be web accessible. Assuming all of your web facing content is under the "www" folder, you should have something like: <Directory "C:/AppServ/www">Order Allow,DenyAllow from All</Directory> Link to comment Share on other sites More sharing options...
quanpq Posted October 13, 2010 Author Share Posted October 13, 2010 thanks boen_robotnot found help boen_robot please your email boen_robot RewriteRule url http://localhost/demo/index.html error file .htaccessOptions +FollowSymLinksRewriteEngine onRewriteRule ^index.html$ index.php help Link to comment Share on other sites More sharing options...
boen_robot Posted October 13, 2010 Share Posted October 13, 2010 You need to add that thing above in httpd.conf, and restart Apache afterwards. Have you done that? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.