Installing a Drupal site on ONE.COM webhosting
Posted by lhe | Posted in Drupal, Leiv Hendrickx | Posted on 03-06-2009
11
It seems that installing a Drupal site (or copying one from your dev machine) to a ONE.COM hosting is not without troubles….
As soon as you have put in place your database (via phpmyadmin), copied your files via ftp and updated your settings.php file (you need to do this at least to check your database connection), you will most probably get:
500 Internal Server Error
This can be solved quite easily by commenting two lines in your .htaccess file:
# Don't show directory listings for URLs which map to a directory. Options -Indexes # Follow symbolic links in this directory. Options +FollowSymLinks
So, after changing your .htaccess, it should look like this:
# Don't show directory listings for URLs which map to a directory. # Options -Indexes # Follow symbolic links in this directory. # Options +FollowSymLinks
After doing this, your site should run smoothly.



Thanks maaaaaate!!!!
FINALLY! THANK YOU!!
Hey Sandra
you are very welcome!
cheers!
Worked like a charm, thanks
Hey Tor
you are welcome!
cheers
Hi.
I had this problem some time ago. I ended up renaming the .htaccess file to something like .htaccess2 without altering the content of the file. This worked for me. I could not make your change happen on my site.
cheers
Hi Stein
i am pretty sure that renaming your .htaccess file is not the best of ideas.
Drupal really needs this file. What is not working for you?
cheers
Leiv
It doesn’t work for me
Woopii, now its work fine. Thank you!!!
Using the One Com live chat.. I got the following instructions which worked for me – note the extra line to comment out:
Dinesh: Hello there
Dinesh: Please make the following changes which should fix the error
Dinesh: – Connect to your webspace using any FTP program.
Dinesh: – Download the .htaccess file from Drupal folder to your desktop
Dinesh: – Right click and open it using wordpad
Dinesh: – Here search for following 2 options :
Dinesh: Options -Indexes
Dinesh: Options +?FollowSymLinks
Dinesh: Options -Multiviews
Dinesh: And disable it by inserting a # before it. So it looks like this :
Dinesh: # Options -Indexes
Dinesh: # Options +?FollowSymLinks
Dinesh: # Options -Multiviews
Dinesh: Then save this file and replace it with existing .htaccess file using FTP.
Please also check if there is no .htaccess in your sites/default/files folder
There are 2 more files to adjust, which create .htaccess files:
- includes/file.inc (2 instances of ‘FollowSymLinks’)
- modules/simpletest/tests/file.test (1 instance of ‘FollowSymLinks’)
also comment out these e.g.: “…Options None\n#Options +FollowSymLinks”;