: You must put AllowOverride All in your <Directory/> section of the server configuration. The only Apache configuration files that can allow options are the ones directly in the server (main
You must put AllowOverride All in your <Directory/> section of the server configuration.
The only Apache configuration files that can allow options are the ones directly in the server (main file, virtualhost, etc.).
The .htaccess file can only remove override rights.
That is:
<VirtualHost *:80>
DocumentRoot "C:/xampp/htdocs/ypp"
ServerName ypp.com
ServerAlias ypp.com ##ErrorLog "logs/dummy-host2.localhost-error.log"
##CustomLog "logs/dummy-host2.localhost-access.log" combined
<Directory "C:/xampp/htdocs/ypp">
AllowOverride All
</Directory>
</VirtualHost>
and the .htaccess file :
RewriteEngine On
RewriteBase /ypp/
RewriteRule ^/browse$ /browse.php
RewriteRule ^/browse/([a-z]+)$ /browse.php?cat=
RewriteRule ^/browse/([a-z]+)/([a-z]+)$ /browse.php?cat=&subcat=
More posts by @Jessie594
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.