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 Link to comment https://forums.phpfreaks.com/topic/168496-rewriterule-support-both-dashboard-as-pathtodirectorydashboard/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.