seintitus Posted October 11, 2016 Share Posted October 11, 2016 Hi. I don't seem to get the following .htaccess file to work on heliohost. Could there be some misconfigurations? # In local: in httpd/conf/projects/pms.conf : # alias /pms F:/projects/pms/trunk/..../webroot/ ###################################### # Root .htaccess # Case 1: When installing in root but without setting DOCUMENT_ROOT, e.g, http://www.example.com/ : # In the root above /app (say, public_html) # --> # Options +FollowSymLinks # needed for some hosts, especially GoDaddy #<IfModule mod_rewrite.c> # RewriteEngine on # RewriteBase /app/ # RewriteRule ^$ webroot/ [L] # RewriteRule (.*) webroot/$1 [L] # </IfModule> # <-- # Case 2: When installing in folder next to root, e.g., http://www.example.com/pms/ : # In the root above /app (say, public_html/pms/) # --> #<IfModule mod_rewrite.c> # RewriteEngine on # RewriteBase /pms/app/ # RewriteRule ^$ webroot/ [L] # RewriteRule (.*) webroot/$1 [L] # </IfModule> ######################################## # This .htaccess # Case 1: When installing in root but without setting DOCUMENT_ROOT, e.g, http://www.example.com/ : #<IfModule mod_rewrite.c> # RewriteEngine on # RewriteBase /app/ # RewriteRule ^$ webroot/ [L] # RewriteRule (.*) webroot/$1 [L] # </IfModule> # Case 2: When installing in folder next to root, e.g., http://www.example.com/pms/ : #<IfModule mod_rewrite.c> # RewriteEngine on # RewriteBase /pms/app/ # RewriteRule ^$ webroot/ [L] # RewriteRule (.*) webroot/$1 [L] # </IfModule> <IfModule mod_rewrite.c> RewriteEngine on RewriteBase /demo/app/ RewriteRule ^$ webroot/ [L] RewriteRule (.*) webroot/$1 [L] </IfModule> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.