I have a cpanel server which I have a bit of a problem with...
I need to use frontpage extensions and mod_rewrite together however the default "Install/Remove/Reinstall" extensions options writes a default .htaccess file which is missing the Options +FollowSymLinks as the last line in it which frontpage needs to work correctly. I located the Frontpage.pm which is called but that executes a binary cpwrap to writre the file and content. Any fixes for this?
These files:
/public_html/.htaccess
/public_html/_vti_bin/.htaccess
/public_html/_vti_bin/_vti_adm/.htaccess
/public_html/_vti_bin/_vti_aut/.htaccess
All those need Options +FollowSymLinks to be the last line in them as a default in order for fp to work w/mod_rewrite for the purpose of 301/302's. I am trying to avoid a homebrew script because my clients often uninstall/reinstall/install extensions on their own through cpanel.
Ideally a default file that always has:
#====================================================
RewriteEngine on
RewriteCond %{HTTP_HOST} !www.DOMAIN
RewriteRule ^.*$ http://www.DOMAIN%{REQUEST_URI} [R=301,L]
Options +FollowSymLinks
#====================================================
Would be great.
I need to use frontpage extensions and mod_rewrite together however the default "Install/Remove/Reinstall" extensions options writes a default .htaccess file which is missing the Options +FollowSymLinks as the last line in it which frontpage needs to work correctly. I located the Frontpage.pm which is called but that executes a binary cpwrap to writre the file and content. Any fixes for this?
These files:
/public_html/.htaccess
/public_html/_vti_bin/.htaccess
/public_html/_vti_bin/_vti_adm/.htaccess
/public_html/_vti_bin/_vti_aut/.htaccess
All those need Options +FollowSymLinks to be the last line in them as a default in order for fp to work w/mod_rewrite for the purpose of 301/302's. I am trying to avoid a homebrew script because my clients often uninstall/reinstall/install extensions on their own through cpanel.
Ideally a default file that always has:
#====================================================
RewriteEngine on
RewriteCond %{HTTP_HOST} !www.DOMAIN
RewriteRule ^.*$ http://www.DOMAIN%{REQUEST_URI} [R=301,L]
Options +FollowSymLinks
#====================================================
Would be great.