Hi, i have problems with virtual hosting, i read in docs and looks like easy
but... :) .

I have sites-available/wiki.adictolinux.org and a link to this in
sites-enabled but don't work.

What i'm doing wrong?

The virtual server conf is very simple, actually is a folder with only an
index.php:

Server wiki.adictolinux.org {
    DocumentRoot /var/www/localhost/wiki.adictolinux.org

    Directory / {
        Handler common
    }

    Extension php, php5 {
            Handler  phpcgi{
                Interpreter /usr/bin/php-cgi
            }
        }
}

And here you can see the perms of DocumentRoot:

# ls -ld /var/www/localhost/wiki.adictolinux.org
drwx------ 2 cherokee cherokee 4096 jun  6 12:39 
/var/www/localhost/wiki.adictolinux.org

and index file have:

# ls -l /var/www/localhost/wiki.adictolinux.org/index.php
-rw------- 1 cherokee cherokee 19 jun  6 12:39 
/var/www/localhost/wiki.adictolinux.org/index.php

Sorry for my english :) .

Attachment: pgpVGwiXFYBnq.pgp
Description: PGP signature

_______________________________________________
Cherokee mailing list
[email protected]
http://cherokee-project.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to