Apache Rewrite Settings

Dear all,

Found a much better way to write Apache Rewrite Rules for ERPNext

You can remove the current rewrite rules and add:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/([^/]+)$ $1/web.py?page=$2 [QSA,L]

Note: The QSA (Query String Appended) tag is required for new webshop functionality.


W: https://erpnext.com
T: @rushabh_mehta

You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

To post to this group, send email to er...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.