Jump to content
The Uniform Server Community
miniml

Mod rewrite problem

Recommended Posts

Hello,

 

When I try to use mod rewrite in my .htaccess file, I get:

 

"Forbidden

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

 

Rewrite rules doesn't matter, it happens with any rule, all it takes to happen is to turn it on: "RewriteEngine On"

Share this post


Link to post
Share on other sites

Here are the things that might be affecting this, a is that you have the DENY setting in the .htaccess or is that you are doing something wrong with the mod_rewrite code...

 

I will try and test it here... :D

 

Thanks

Share this post


Link to post
Share on other sites
Here are the things that might be affecting this, a is that you have the DENY setting in the .htaccess or is that you are doing something wrong with the mod_rewrite code...

977[/snapback]

Neither of above. My code works with all other WAMP packages out there.

 

I have installed Uniform Server as a Win service if that helps.

Share this post


Link to post
Share on other sites

I do not think that is the problem.. I got the same error while trying also and searched Google.

 

Here is what you need to do, shut down your server, edit the .htaccess file and enter this:

 

Options +FollowSymLinks 
RewriteEngine On

 

And then restart and it should work without a problem, i hope.. it worked on mine.. :D

 

Thanks...

Share this post


Link to post
Share on other sites

Hello,

 

My problem is exactly the same, but I am not allowed to use the FollowSymLinks options, for it jams my application (namely WordPress blog for multiusers).

 

I could not figure why the RewriteRule seems to change the access rights in Uniform, and any hint would be appreciated!

 

Thanks a lot for this great package, as it is the one and first major problem I got after 1 year of extensive use, thanks !

Share this post


Link to post
Share on other sites

Why are you not allowed to use the FollowSymLinks option for the application?

 

I will try and search Google to find other ways that can help ...

Share this post


Link to post
Share on other sites

http://codex.wordpress.org/Using_Permalinks

 

As I recall its just putting the Options line before all the wordpress generated code in the file. It may also need a RewriteBase directive if run in a subfolder. I think there are a set of 'divider' comment lines in the .htaccess?

Share this post


Link to post
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...

×
×
  • Create New...