-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ok, I must been doing something stupid. This should take me less than
10 minutes, but for some reason it is not working. I am trying to
create a simple virtua server to use php. There I want to test some
php cms like wordpress or joomla. Nothing fancy, just a simple vserver
for php aplications. I set the document root to
/jaulas/pruebas/home/pruebas/web because I am using a chroot user with
ssh.
For some reason the document root always goes to /var/www instead of
/jaulas/pruebas/home/pruebas/web. I am using cherokee 1.2.2.
Here is my configuration for that virtual server:
vserver!130!directory_index = index.php,index.html
vserver!130!document_root = /jaulas/guachala/home/guachala/web
vserver!130!error_writer!filename = /var/log/cherokee/pruebas-error
vserver!130!error_writer!type = file
vserver!130!logger = combined
vserver!130!logger!access!filename = /var/log/cherokee/pruebas-access
vserver!130!logger!access!type = file
vserver!130!match = wildcard
vserver!130!match!domain!1 = *cms.cayambelibre.com
vserver!130!nick = www.guachala.com
vserver!130!rule!20!encoder!gzip = 1
vserver!130!rule!20!handler = fcgi
vserver!130!rule!20!handler!balancer = round_robin
vserver!130!rule!20!handler!balancer!source!1 = 1
vserver!130!rule!20!handler!error_handler = 1
vserver!130!rule!20!match = extensions
vserver!130!rule!20!match!check_local_file = 1
vserver!130!rule!20!match!extensions = php
vserver!130!rule!20!match!final = 0
vserver!130!rule!20!timeout = 30
vserver!130!rule!10!handler = common
vserver!130!rule!10!match = default
Regards,
Rafael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6KcnwACgkQ/R157VJtzzHzHQCgscpj7DqDg38miWo0UCy2x5eG
TJsAn0bXYj7ThS8WbTrHg6kBaawFVNQ4
=nWl/
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee
Hash: SHA1
Ok, I must been doing something stupid. This should take me less than
10 minutes, but for some reason it is not working. I am trying to
create a simple virtua server to use php. There I want to test some
php cms like wordpress or joomla. Nothing fancy, just a simple vserver
for php aplications. I set the document root to
/jaulas/pruebas/home/pruebas/web because I am using a chroot user with
ssh.
For some reason the document root always goes to /var/www instead of
/jaulas/pruebas/home/pruebas/web. I am using cherokee 1.2.2.
Here is my configuration for that virtual server:
vserver!130!directory_index = index.php,index.html
vserver!130!document_root = /jaulas/guachala/home/guachala/web
vserver!130!error_writer!filename = /var/log/cherokee/pruebas-error
vserver!130!error_writer!type = file
vserver!130!logger = combined
vserver!130!logger!access!filename = /var/log/cherokee/pruebas-access
vserver!130!logger!access!type = file
vserver!130!match = wildcard
vserver!130!match!domain!1 = *cms.cayambelibre.com
vserver!130!nick = www.guachala.com
vserver!130!rule!20!encoder!gzip = 1
vserver!130!rule!20!handler = fcgi
vserver!130!rule!20!handler!balancer = round_robin
vserver!130!rule!20!handler!balancer!source!1 = 1
vserver!130!rule!20!handler!error_handler = 1
vserver!130!rule!20!match = extensions
vserver!130!rule!20!match!check_local_file = 1
vserver!130!rule!20!match!extensions = php
vserver!130!rule!20!match!final = 0
vserver!130!rule!20!timeout = 30
vserver!130!rule!10!handler = common
vserver!130!rule!10!match = default
Regards,
Rafael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk6KcnwACgkQ/R157VJtzzHzHQCgscpj7DqDg38miWo0UCy2x5eG
TJsAn0bXYj7ThS8WbTrHg6kBaawFVNQ4
=nWl/
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee mailing list
Cherokee@lists.octality.com
http://lists.octality.com/listinfo/cherokee