Skip to content

Commit

Permalink
allow 'https://example.com/?foo&bar=1' type URLs to be served by Drupa…
Browse files Browse the repository at this point in the history
…l without adding 'q='
  • Loading branch information
yhager committed Apr 5, 2010
1 parent 2f1930a commit fe930f2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion conf/drupal_common
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@

# This rewrites pages to be sent to PHP processing
location @drupal {
rewrite ^/(.*)$ /index.php?q=$1 last;
index index.php;
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?q=$1 last;
}
}

0 comments on commit fe930f2

Please sign in to comment.