Could it be possible because of the php and /torrent aren't final it will end up in the wordpress config and it's rewrite rule?
On 2/25/10 9:51 PM, Michiel van Es wrote: > To be more precise: the propsed setup IS working for a host which is a > simple virtual host without the Wordpress wizard. > > Michiel > > On 2/25/10 9:40 PM, Michiel van Es wrote: >> Hi Taher, >> >> When I dont' use any handler it still does not work. >> I used the wordpress website to create this virtual host, but want to >> add an extra virtual/alias called /torrent which also hosts php files. >> >> This is my config: >> >> vserver!20!match!domain!1 = www.pcintelligence.nl >> vserver!20!nick = www.pcintelligence.nl >> vserver!20!rule!600!disabled = 0 >> vserver!20!rule!600!document_root = >> /var/www/www.pcintelligence.nl/torrent/html >> vserver!20!rule!600!handler = common >> vserver!20!rule!600!match = directory >> vserver!20!rule!600!match!directory = /torrent >> vserver!20!rule!600!match!final = 0 >> vserver!20!rule!600!no_log = 0 >> vserver!20!rule!600!only_secure = 0 >> vserver!20!rule!500!disabled = 0 >> vserver!20!rule!500!encoder!gzip = 1 >> vserver!20!rule!500!handler = fcgi >> vserver!20!rule!500!handler!balancer = round_robin >> vserver!20!rule!500!handler!balancer!source!1 = 1 >> vserver!20!rule!500!handler!error_handler = 1 >> vserver!20!rule!500!match = extensions >> vserver!20!rule!500!match!extensions = php >> vserver!20!rule!500!match!final = 0 >> vserver!20!rule!500!timeout = 30 >> vserver!20!rule!400!disabled = 0 >> vserver!20!rule!400!handler = file >> vserver!20!rule!400!match = fullpath >> vserver!20!rule!400!match!final = 1 >> vserver!20!rule!400!match!fullpath!1 = /favicon.ico >> vserver!20!rule!400!match!fullpath!2 = /robots.txt >> vserver!20!rule!400!match!fullpath!3 = /crossdomain.xml >> vserver!20!rule!300!disabled = 0 >> vserver!20!rule!300!handler = redir >> vserver!20!rule!300!handler!rewrite!1!regex = (.*)/ >> vserver!20!rule!300!handler!rewrite!1!show = 0 >> vserver!20!rule!300!handler!rewrite!1!substring = $1/index.php >> vserver!20!rule!300!match = fullpath >> vserver!20!rule!300!match!final = 1 >> vserver!20!rule!300!match!fullpath!1 = / >> vserver!20!rule!300!match!fullpath!2 = /wp-admin/ >> vserver!20!rule!200!disabled = 0 >> vserver!20!rule!200!handler = file >> vserver!20!rule!200!handler!iocache = 1 >> vserver!20!rule!200!match = exists >> vserver!20!rule!200!match!final = 1 >> vserver!20!rule!200!match!iocache = 1 >> vserver!20!rule!200!match!match_any = 1 >> vserver!20!rule!200!match!match_only_files = 1 >> vserver!20!rule!100!disabled = 0 >> vserver!20!rule!100!handler = redir >> vserver!20!rule!100!handler!rewrite!1!regex = /(.+) >> vserver!20!rule!100!handler!rewrite!1!show = 0 >> vserver!20!rule!100!handler!rewrite!1!substring = /index.php?/$1 >> vserver!20!rule!100!match = default >> vserver!20!rule!100!match!final = 1 >> vserver!20!ssl_certificate_file = >> /etc/pki/tls/certs/www.pcintelligence.nl.pem >> vserver!20!ssl_certificate_key_file = / >> >> Kind regards, >> >> Michiel >> >> On 2/25/10 9:32 PM, Taher Shihadeh wrote: >>> Hi Michiel. >>> >>> You don't need to configure any handler for that rule. Being a non-final >>> directory rule, the specified document root will be read and the >>> evaluation will continue. >>> You get to the PHP rule, which then knows how to handle the php >>> extension, and the evaluation proceeds until you get to a final rule. >>> >>> Here you have a very basic (working) configuration file to demonstrate >>> the concept. >>> Unless I'm missing the point, of course. >>> >>> Good luck! :) >>> >>> Michiel van Es wrote: >>>> Hi Taher, >>>> >>>> Yes I have seen the basic steps, it is a non final folder, it is above >>>> of the php extension. >>>> It is offering me when I go to /torrent/ a 403 or when I go to >>>> /torrent/index.php a download file. >>>> I am sorry but I could not find the solution at one of your >>>> screencasts. >>>> >>>> For example what kind of handle should I take? I can not find that on >>>> the screencast. >>>> >>>> Kind regards, >>>> >>>> Michiel >>> >> _______________________________________________ >> Cherokee mailing list >> [email protected] >> http://lists.octality.com/listinfo/cherokee _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
