aberrio
4th December 2008, 05:51
Hello,
I tried to follow this how to... http://www.howtoforge.com/creating-advanced-mysql-based-vhosts-on-lighttpd-debian-etch, on opensuse 11.0 but having problems.
iI belive my issues is in the mysql_vhost.pyfile.
When I tried to test the vhost with /usr/share/lighttpd/mysql_vhost.py lighttpd lighttpd secret I am getting this error..
: No such file or directory
How can I change this statement to be compatible with openSUSE 11.0...
print "$HTTP[\"host\"] == \"%s\" {\nserver.document-root = \"%s\"\n%s\n}" % (domain[0], domain[1], domain[2])..?
Regards
AL
I tried to follow this how to... http://www.howtoforge.com/creating-advanced-mysql-based-vhosts-on-lighttpd-debian-etch, on opensuse 11.0 but having problems.
iI belive my issues is in the mysql_vhost.pyfile.
When I tried to test the vhost with /usr/share/lighttpd/mysql_vhost.py lighttpd lighttpd secret I am getting this error..
: No such file or directory
How can I change this statement to be compatible with openSUSE 11.0...
print "$HTTP[\"host\"] == \"%s\" {\nserver.document-root = \"%s\"\n%s\n}" % (domain[0], domain[1], domain[2])..?
Regards
AL