Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Problem with Friendly URL and Multiviews
I add this strange problem with the Friendly Urls 1 extension. The rules for the account of the forum wasn't working; all the request to account/#/ resulted in displaying account.php.
I finaly get it working with Multiviews disable:
I finaly get it working with Multiviews disable:
Options +FollowSymLinks -Multiviews
0
This discussion has been closed.
Comments
Options +FollowSymLinks +Multiviews
And tell me if he has the same problem to visit pages of others accounts?But there's only one file, the readme, in the FriendlyUrls folder. Is there stuff in .htaccess or is it just a blank file?
If you use a ftp program, There might be an option to see that hidden files
<Directory /home/jazzman/HTML/> AllowOverride All </Directory>
Restart apache service after you've changed it
#Check mod_rewrite is on. #For apache 2.x, if you don't see this line, add it (or uncomment it). #For apache 1.3, check your manual. ... LoadModule rewrite_module modules/mod_rewrite.so ... <Directory /Path/to/forum/htdocs> Order allow,deny allow from all RewriteEngine On Options +FollowSymLinks #Discussions RewriteRule ^discussions/$ index.php [QSA,L] RewriteRule ^discussions/([0-9]+)/$ index.php?page=$1 [QSA,L] RewriteRule ^([0-9]+)/$ index.php?CategoryID=$1 [QSA,L] RewriteRule ^([0-9]+)/([0-9]+)/$ index.php?CategoryID=$1&page=$2 [QSA,L] #Comments RewriteRule ^discussion/([0-9]+)/([0-9]+)/(.*)/$ comments.php?DiscussionID=$1&page=$2 [QSA,L] RewriteRule ^discussion/([0-9]+)/(.*)/$ comments.php?DiscussionID=$1 [QSA,L] RewriteRule ^discussion/([0-9]+)/([0-9]+)/$ comments.php?DiscussionID=$1&page=$2 [QSA,L] RewriteRule ^discussion/([0-9]+)/$ comments.php?DiscussionID=$1 [QSA,L] #Categories RewriteRule ^categories/$ categories.php [QSA,L] #Account RewriteRule ^account/$ account.php [QSA,L] RewriteRule ^account/([0-9]+)/$ account.php?u=$1 [QSA,L] #Search RewriteRule ^search/$ search.php [QSA,L] RewriteRule ^search/([0-9]+)/$ search.php?page=$1 [QSA,L] RewriteRule ^search/saved/([0-9]+)/$ search.php?SearchID=$1 [QSA,L] RewriteRule ^search/saved/([0-9]+)/([0-9]+)/$ search.php?SearchID=$1&page=$2 [QSA,L] #Post RewriteRule ^post/$ post.php [QSA,L] RewriteRule ^post/([0-9]+)/$ post.php?CommentID=$1 [QSA,L] RewriteRule ^post/category/([0-9]+)/$ post.php?CategoryID=$1 [QSA,L] #Settings RewriteRule ^settings/$ settings.php [QSA,L] #People RewriteRule ^people/$ people.php [QSA,L] <Directory>
Restart apache.
You provider won't allow any use of Options, But he can set the Options you want for your virtual domain.
He might not set FollowSymLinks, But he shouldn't see any problem with SymLinksIfOwnerMatch.