Mobile app version of vmapp.org
Login or Join
Jessie594

: 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

@Jessie594

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=

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Jessie594

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme