Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mod rewrite problem

Featured Replies

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"

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

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

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

  • 1 month later...

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 !

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?

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.