-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jordi Adame escribió: >
Hi, my php5-fcgi already runs great, thanks Jose ;-). Now my problem is with Drupal and some directions like: http://localhost/index.php?q=user/1 Gives me "403 Forbidden" > > > Alguien me podría ayudar? Además de decirme como hacer de que funcione > > bien Drupal, no se donde se coloca las configuraciones del > .htaccess... > > Maybe you can try to run Drupal without the .htaccess files. I recall > Drupal working correctly without them some versions ago. Another > documentation that might be useful is Jaws and FastCGI over Cherokee in > [1], also in the documentation accompanying Cherokee's package. I already try it, i think that's a problem with the .htaccess the fact that i can't enter to URIs like above one. > > > To make drupal work just as if it had .htaccess add this to your host config > > Directory / { > Handler common > } > > Request "^/([^\?]*)(\?(.*))?$" { > Handler redir { > Rewrite "/index.php?q=$1&$3&" > } > } > > Request "^/(.*)\?(.*)/?" { > Handler redir { > Rewrite "/index.php?q=$1&$2" > } > } > > #pager comentarios > Request "^/node/(.*)\?(.*)/?" { > Handler redir { > Rewrite "/index.php?q=node/$1&$2" > } > } > > Directory /modules { Handler file } > Directory /images { Handler file } > Directory /files { Handler file } > Directory /themes { Handler file } > Directory /local { Handler file } > Directory /misc { Handler file } > > Request "^/xml/(.*)$" { > Handler redir { Rewrite "/node/feed/$1" } > } > > They MUST be in that order or these rewrites won't work. > > Good luck I already do it (Thanks by the way :)) But doesn't work yet. Is curios that directions like http://localhost/index.php?q=user/1 doesn't work but http://localhost/index.php?q=user/register does works. Thanks. And sorry for the first email in Spanish ;-). - -- - ---- ~ghostbar @ linux/debian 'testing' on i686 - Linux Counter# 382503 http://ghostbar.ath.cx/ - irc.freenode.net #talug #velug San Cristobal - Venezuela. TALUG -- http://linuxtachira.org Fingerprint = 3E7D 4267 AFD5 2407 2A37 20AC 38A0 AD5B CACA B118 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEwlcsOKCtW8rKsRgRAmfuAKDLn4AuRYMY6DVZLbnO0xvph0kkHwCgoD5A yNw35KVG4Q2R052vU/TbjAo= =oPLr -----END PGP SIGNATURE----- _______________________________________________ Cherokee mailing list [email protected] http://www.0x50.org/cgi-bin/mailman/listinfo/cherokee
