[Typo3-linux] htaccess and directories

Dimitri Tarassenko mitka at mitka.us
Mon Oct 3 21:13:32 CEST 2005


Patxi,

On 10/3/05, Patxi Goitia <pgoitia at euskalnet.net> wrote:
> I have control on my server, but I want to have a ready to go version,
> in case of hardware failure or something...

I hear you. Here's what I do:

1. In /etc/httpd/conf.d/myservers.conf:

Include /var/w3/*.siteconf

(this is for RHEL, but you get the idea)

2. Then create a new file for each virtual host, such as
/var/w3/mygreatsite.conf

In other words, you still have all configs for your site in one file.
You can even place it _inside_ the DocumentRoot directory, if you
prefer.

Alternatively, on RHEL/FC you can just add files to /etc/httpd, but I
prefer to keep them next to the website files since they are easier to
edit there.

--
Dimitri Tarassenko


More information about the TYPO3-linux mailing list