Hello,
I just developed Drupal based website, instead of my old one "custom" made. It's hosted on Bluehost.com server.
Root of my website is not apache root.
Apache root is in: /home/mydomain/public_html/
And root of my site is: /home/mydomain/public_html/mysite/htdocs/ (or /mysite/htdocs/ regarding to Apache).
Now, after installation of Drupal, all of my links now looks like:
http://www.mydomain.com/mysite/htdocs/php
http://www.mydomain.com/mysite/htdocs/java
http://www.mydomain.com/mysite/htdocs/jqueryTried to change directive in Drupal's .htaccess file, with:
RewriteBase /mysite/htdocs
... but that made no changes to links.
Just to mention that in Apache root i do have .htaccess with directive like:
RewriteRule (.*) /mysite/htdocs/$1 [L]
That directive I had before I installed Drupal.
And also to mention that with previous website all links worked fine.
Can you help me how can I fix this directive.
Thank you in advance!
Comments
RewriteBase
Try putting / in for your rewrite base, if your webspace is set is set to the above directories as it's root.
If you put up an index.html page in:
/home/mydomain/public_html/mysite/htdocs/
And you can access it from here:
http://www.mydomain.com/
Then the rewrite base should be /
I'm not sure if the RewriteRule in the domain root would cause any issues with Drupal's .htaccess... try the RewriteBase as just / and post back here.