I'm trying to get FuelPHP to work on my server. I don't have access to use .htaccess file for RewriteRule. However, my host has allowed me to specify a part of the httpd.conf file.
The following works for what I want:
<Directory /Applications/XAMPP/xamppfiles/htdocs/sandbox/username/public>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</Directory>
However, I need it to work for more than just "username" in there. How can I use wildcards with this Directory so that it works for any values of "username" for a one-time solution?
I found this advice on the apache manual, but I'm not sure how to get it to work with the RewriteRule
.
Tried the following but it didn't work:
<Directory /Applications/XAMPP/xamppfiles/htdocs/sandbox/*/public>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</Directory>
Please help!