I am hosting my site on my server at home. Using a godaddy address and dynsdns I am able to get to http://mysite/xampp (from outside my network) but would like the drupal webpage to show up instead of the xampp page.
I've done a ton of searching and trying-out different solutions and feel I have gotten closest editing the htaccess file I''ve put in the xampp directory and the drupal/sites/default directory. ( as per the directions I found here http://drupal.org/node/520700 ).
Presently if I go to www://mysite.com it will direct me the "it works" page on xampp. If I go to http://mysite.com it goes to my drupal site but the theme is missing.
I think I can work around the http / www issue but why is the theme missing?
What I've done is:
In dtdocs put an htaccess file.
RewriteEngine on
# RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule (.*) drupal/$1 [L]
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]( I changed the name of the drupal directory to drupal in htdocs )
In the drupal directory I left the htaccess file alone.
In the site/default/ directory I edited the settings.php file to:
$base_url = 'http://www.mysite.com'; // NO trailing slash!Not sure what why this is happening.
Moved to appropriate forum
Comments
Got it guys. Didn't do any
Got it guys. Didn't do any of that stuff. Changed the hppd.conf in apache DocumentRoot directive and then restarted apache. Worked fine. ( would have never know if I hadn't restarted apache though. didn't work before. ) that was a 3 hrs headache potential. Just got lucky.