1

I have got myself a vserver.
I just thought off rewriting the context of the .htaccess (RewriteRules etc.) into
my /etc/apache2/sites-availabe/domain.conf .

Does this work? Or does the .htaccess file have different functions that aren't
compatible with the apache config files?

2
  • Can you please explain in a little more detail what you're trying to achieve?
    – Lodder
    Mar 2, 2015 at 14:25
  • Edited. Hope i got it better now^^ Mar 2, 2015 at 14:30

1 Answer 1

2

The Joomla .htaccess includes many rules to rewrite your urls and secure your website. You could copy them to your vhost configuration, but, frankly, I would'nt recommend it: for starters, it seems like the kind of job giving you no benefit at all. Then some rules may change when you perform an update, and then you'll have to edit your vhost config again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.