3 users online. Create an account or sign in to join them.Users

Search

Hi there :D

is it possible to alter the root parameter? My main site resides in a subfolder of the docroot public_html/main and is redirected via htaccess

RewriteBase /
RewriteCond %{REQUEST_URI} !^/main/
RewriteCond %{HTTP_HOST} ^(www.)?my-domain.
RewriteRule ^(.*)$ main/$1 [L] 

so the root param points to http://my-domain.com/main instead of http://my-domain.com

Unfortunately I can't create virtual hosts on my account.

Any idea?

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details