I have a existing setup for Java docs, my cuurent working URL is http://somedomain/reference/some-addon-sdk/packages
New URL should point to new folder (copy of same existing folder) containing the new Java docs.
The URL to use is http://somedomain/reference/motion-api/package
I want to connect the new URL to that new folder to make it work
i was trying the below redirect in my Nginx,
===============================================================================================
location /reference {
rewrite /reference/(.*)$ /reference/index.php?path=$1 last;
}
location /index.php { allow all; }
location ~* \.(css|js|png)$ { allow all; }
location ~ /var/www/reference { deny all; }
location ~ ^/reference/motion-api/?$ {
rewrite ^ http://somedomain.com/reference/motion-api/packages? permanent;
}
===============================================================================================
http://somedomain.com/reference/motion-api/packages I am getting 403 on the page it didnt work, please suggest me if any thing i want to make
it work
I placed the file into app/webroot