Results 1 to 8 of 8
Threaded View
-
22nd Sep 2011, 02:03 PM #3Respected Member
Hers is a Nginx Lighttpd Tutorial
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [L]
The two RewriteCond statements check to make sure that there is no filename or directory that matches a user’s request. If not, then it rewrites to the index.php page. The [L] means to stop executing rewrites at that line.
Now for Nginx and it’s Rewrite module:
if (!-e $request_filename) {
rewrite ^(.*)$ index.php last;
}
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Problem with .htaccess
By Uchiha-Madara in forum DLEReplies: 7Last Post: 4th Apr 2012, 04:58 PM -
Help - Problem with .htaccess DLE
By Uchiha-Madara in forum Web Application/Script SupportReplies: 3Last Post: 15th Jan 2012, 01:33 PM -
Problem with htaccess
By xandor in forum Webmaster DiscussionReplies: 9Last Post: 15th Jan 2012, 12:55 AM -
problem with my .htaccess file for datalife
By zebono2 in forum Web Development AreaReplies: 3Last Post: 24th Sep 2011, 04:33 PM -
.htaccess problem in DLE
By Arthur in forum Webmaster DiscussionReplies: 25Last Post: 8th Mar 2011, 06:39 PM
themaManager - edit and manage...
Version 4.18 released. Open older version (or...