.htaccess help
i have a .htaccess file ,
Original
If you modify this file then change the above line to: # Modified
RewriteEngine On
# Certain hosts may require the following line.
# If vanilla is in a subfolder then you need to specify it after the /.
# (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum)
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L]
//Custom 401 errors
ErrorDocument 401 http://snowblazers.tk/vanilla/index.php?p=/dashboard/home/permission
//Custom 404 errors
ErrorDocument 404 http://snowblazers.tk/vanilla/index.php?p=/dashboard/home/filenotfound
It just goes to my main 404 page when going to /vanilla/ now
Best Answer
-
x00 MVP
emery said:
i have a .htaccess file ,# Original # If you modify this file then change the above line to: # Modified <IfModule mod_rewrite.c> RewriteEngine On # Certain hosts may require the following line. # If vanilla is in a subfolder then you need to specify it after the /. # (ex. You put Vanilla in /forum so change the next line to: RewriteBase /forum) # RewriteBase / RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php\?p=$1 [QSA,L] </IfModule> //Custom 401 errors ErrorDocument 401 http://snowblazers.tk/vanilla/index.php?p=/dashboard/home/permission //Custom 404 errors ErrorDocument 404 http://snowblazers.tk/vanilla/index.php?p=/dashboard/home/filenotfound
It just goes to my main 404 page when going to /vanilla/ now
//
is not a valid commentgrep is your friend.
0
Answers
//
is not a valid commentgrep is your friend.
you can copy dashboard/views/error.master.php, to your themes' views folder?
then you can edit it.
You know you can set the text of the default permission/error pages, through that and locale, style with css.
try
note you can set in config
grep is your friend.
so long as you haven't replaces this with a physical file you can set
in your locale.
and in config
For a different error page.
grep is your friend.
Thank you