ignace Posted August 2, 2009 Share Posted August 2, 2009 Hi, How can I modify: RewriteEngine On RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L] So that it both supports: http://domain/dashboard (currently only supports this one) http://localhost/path/to/project/dashboard The .htaccess with the rewrite rules is located in: http://localhost/path/to/project Thanks in advance, Ignace Quote Link to comment https://forums.phpfreaks.com/topic/168496-rewriterule-support-both-dashboard-as-pathtodirectorydashboard/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.