Rewrite configuration in web space (like .htaccess)


#1

Hi,
is there a way to let users without access to nginx configuration set
rewrite rules? Something like .htaccess in apache with AllowOverride
option, without need to reload server configuration.
Thanks, Martin


#2

Hello!

On Wed, Apr 15, 2009 at 10:19:18PM +0200, removed_email_address@domain.invalid wrote:

Hi,
is there a way to let users without access to nginx configuration set rewrite rules? Something like .htaccess in apache with AllowOverride option, without need to reload server configuration.

No.

Maxim D.


#3

On Wed, 2009-04-15 at 22:19 +0200, removed_email_address@domain.invalid wrote:

Hi,
is there a way to let users without access to nginx configuration set rewrite rules? Something like .htaccess in apache with AllowOverride option, without need to reload server configuration.
Thanks, Martin

Not as such. What you can do is let each user have their own instance
of Nginx on 127.0.0.x and proxy to them from the main Nginx instance.
This might seem like overkill, but Nginx uses so little resources it
isn’t a big deal and gives much more flexibility and security compared
to htaccess.

Regards,
Cliff


#4

On Wed, Apr 15, 2009 at 3:21 PM, Maxim D. removed_email_address@domain.invalid
wrote:

Hello!

On Wed, Apr 15, 2009 at 10:19:18PM +0200, removed_email_address@domain.invalid wrote:

Hi,
is there a way to let users without access to nginx configuration set rewrite rules? Something like .htaccess in apache with AllowOverride option, without need to reload server configuration.

No.

personally i think it would be a nice optional feature.

perhaps with a big warning sign “this will KILL your performance!”

and start at “root” and traverse the directory tree until the file
being called…