Hi people, please help me out with this htaccess file, i dont understand htaccess files much. Here is the file. RewriteEngine On RewriteRule ^\.htaccess$ - [F] RewriteCond %{REQUEST_URI} ="" RewriteRule ^.*$ /booking/public/index.php [NC,L] RewriteCond %{REQUEST_URI} !^/booking/public/.*$ RewriteRule ^(.*)$ /booking/public/$1 RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^.*$ - [NC,L] RewriteRule ^public/.*$ /booking/public/index.php [NC,L] This file makes the program work only when its placed in the root directory. But i want to change it to test directory can any one help me with it. Where should i make the change.
Put a .htaccess file in the test directory with the respective root path / edit the current .htaccess file if it's already there I guess.
ya i know it should, but it is a different sort of script so it dint, anyways i somehow found a work around.