Hi everybody, to start sorry for my bad english :P

I have a debian squezee os, apache2.2, python 2.5 here is my python
configuration for apache:

<code>
        ServerAdmin webmas...@localhost
        DocumentRoot /home/iban/projects/python/trunk/public_html

        <Directory "/home/iban/projects/python/trunk/public_html">
                Options +ExecCGI +FollowSymLinks
                Order allow,deny
                Allow from all
        </Directory>
</code>

and the .htaccess file:
<code>
   Options +ExecCGI
      AddHandler cgi-script .py
      DirectoryIndex index.py
      <IfModule mod_rewrite.c>
          RewriteEngine on
          RewriteBase /
          RewriteCond %{REQUEST_FILENAME} !-f
          RewriteCond %{REQUEST_FILENAME} !-d
          RewriteCond %{REQUEST_URI} !^/favicon.ico$
          RewriteCond %{REQUEST_URI} !^(/.*)+index.py/
          RewriteRule ^(.*)$ index.py/$1 [PT]
      </IfModule>
</code>
index.py in public_html
<code>
#!/usr/bin/python
import sys
sys.path.append('../private_data/libs/webpy')
import web
print 'YEAH'
</code>
web.py is in:

/home/iban/projects/python/trunk/private_data/libs/webpy

if i put in console:

python index.py

there is no errors and puts 'YEAH' output but by web there is internal
server error 500

thanks for all
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to