Hi,
I'm using my own parser to parse a clients data to virtualhosts, and they look like this:
<virtualhost 80.247.213.51>
servername abonnementen.recreatief.nl
documentroot /home/recreatief/public_html/gids/abonnementen/
transferlog /var/log/httpd/domains/recreatief.nl.log
errorlog /var/log/httpd/domains/recreatief.nl.error
</virtualhost>
I've put them in the httpd.conf from the user reactief. It works, but serverside includes don't.
I tried to add something like this to the virtualhost:
<Directory /home/recreatief/>
Options +Includes -Indexes
php_flag engine on
php_admin_value safe_mode 1
</Directory>
php_admin_value open_basedir /home/recreatief/:/tmp/:/var/www/:/usr/lib/php/
But that doesn't work. It would be nice to enable the SSI's for the whole /home/username/ directory i choose. Is this possible? The other option is to re-parse the data and make some changes in the virtualhost, but i can't find the right syntax for this yet.
I'm using my own parser to parse a clients data to virtualhosts, and they look like this:
<virtualhost 80.247.213.51>
servername abonnementen.recreatief.nl
documentroot /home/recreatief/public_html/gids/abonnementen/
transferlog /var/log/httpd/domains/recreatief.nl.log
errorlog /var/log/httpd/domains/recreatief.nl.error
</virtualhost>
I've put them in the httpd.conf from the user reactief. It works, but serverside includes don't.
I tried to add something like this to the virtualhost:
<Directory /home/recreatief/>
Options +Includes -Indexes
php_flag engine on
php_admin_value safe_mode 1
</Directory>
php_admin_value open_basedir /home/recreatief/:/tmp/:/var/www/:/usr/lib/php/
But that doesn't work. It would be nice to enable the SSI's for the whole /home/username/ directory i choose. Is this possible? The other option is to re-parse the data and make some changes in the virtualhost, but i can't find the right syntax for this yet.