Hello everyone,
I'm a belgian student Marketing and i'm currently in south africa for my internship.
A part of my internship work is to make a website and so I made my first drupal site.
Today I migrated the site to my Hetzner webhosting.
The website is located on a multiple domain name, so one webhosting package, 1 site and 4 subwebsites.
I don't succeed to enable the clean urls with Hetzner.
I tried to modify the .htaccess file in the directory of the subwebsite by adding 'mod_rewrite on', but if I reopen .htacccess the mod_rewrite line is gone and it's not possible to enable clean urls.
Is there anyone who has experience with Clean urls and Hetzner.co.za webhosting?
Thank you and.... South Africa is great, So is drupal!
Comments
Its definitely possible
A site I did for a photographer:
http://www.locker14.com
This site is Drupal on Hetzner
I'll need to check back on my mails to their techs, I seem to remember there was a bit of a snag.
I'll check Monday for you, its Friday - time for a DRINK!
Solved
Hi Gumrol,
Locker14 is a nice made. I like the horizontal scrolling.
I got an e-mail from hetzner and there was something wrong with the ownership of the .htaccess file.
So if someone has the same probleme with hetzner, just contact the support and after that just add the following lines to the .htaccess file via the console.
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
And after enabling the clean urls via the drupal admin it works like a charm!
Great!
Glad you got it sorted out.
Have a good one.