There is still a rewrite problem with my config:
server {
...
root $root_directory;
index index.php index.html index.htm;
fastcgi_index index.php;
location ~ /mailadmin/(.*.\.php)$ {
root /path/to/root/;
...
index index.php;
}
location / {
return
On Mon, Feb 24, 2014 at 04:10:24PM +0100, basti wrote:
Hi there,
> # do not rewrite this
> location /mailadmin/(.*.\.php)$ {
You probably will have no requests that will match this prefix location.
> location / {
> rewrite ^ http://$server_name$request_uri? permanent;
Many requests wi
Hello,
I have a config like:
server {
...
# do not rewrite this
location /mailadmin/(.*.\.php)$ {
# some stuff
}
location / {
# some other stuff
rewrite ^ http://$server_name$request_uri? permanent;
}
location ~ \.php$ {
# php stuff;
}
}
URLs like
htt