Hi, thanks for your answer, still haven't got it working
Here what I have done: 1. Domain is pointing to the web2py directory (where all the handlers are inside) and I didn't move the cgi handler to another directory - is this correct? 2. I renamed cgihandler.py to cgihandler.cgi 3. in the .htaccess I wrote: + Options +ExecCGI AddHandler cgi-script cgi >> 403 error Then I added the following 2 lines to the .htaccess: RewriteEngine on RewriteRule ^$ / cgihandler.cgi >> Domain is now switching from mydomain.com to >> mydomain.com/welcome/default/index and I get a 404 page not found The same if I remove the "+ Options..." and "AddHandler..." line from the .htaccess, this 2 lines do just nothing. Where is my mistake? Andreas On 28 Sep., 23:14, Thadeus Burgess <[email protected]> wrote: > Quite easily actually, some took me about 5 seconds on google. > > http://httpd.apache.org/docs/1.3/howto/htaccess.html#cgi > > Bascially, you either rename cgihandler.py with a .cgi extension, and/or > simlink it to a .cgi file. > > Hope that helps, I would suggest maybe fastcgi if you have it? > > I currently use the shared hosting on dreamhost, and use their WSGI for my > web2py instance, runs great! > > -Thadeus > > On Mon, Sep 28, 2009 at 4:07 PM, andreas <[email protected]> wrote: > > h directory should the domain point? > > Do I have to remove or modify the cgihandler.py file? > > Do I have to set up a .htaccess file and what to write insi > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

