Thanks. These are the only error logs I have.

Last 300 Error Log messages in reverse order (newest at the top,
oldest at the bottom):
[Sun Dec 05 00:57:18 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/404.shtml
[Sun Dec 05 00:57:18 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/favicon.ico
[Sun Dec 05 00:57:18 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/500.shtml
[Sun Dec 05 00:57:07 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/404.shtml
[Sun Dec 05 00:57:07 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/favicon.ico
[Sun Dec 05 00:57:07 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/500.shtml
[Sun Dec 05 00:54:02 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/404.shtml
[Sun Dec 05 00:54:02 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/favicon.ico
[Sun Dec 05 00:54:02 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/500.shtml
[Sun Dec 05 00:53:50 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/404.shtml
[Sun Dec 05 00:53:50 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/favicon.ico
[Sun Dec 05 00:53:50 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/500.shtml
[Sun Dec 05 00:53:45 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/404.shtml
[Sun Dec 05 00:53:45 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/favicon.ico
[Sun Dec 05 00:53:45 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/500.shtml
[Sun Dec 05 00:53:41 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/404.shtml
[Sun Dec 05 00:53:41 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/favicon.ico
[Sun Dec 05 00:53:37 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/404.shtml
[Sun Dec 05 00:53:37 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/favicon.ico
[Sun Dec 05 00:53:37 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/500.shtml
[Sun Dec 05 00:50:59 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/404.shtml
[Sun Dec 05 00:50:59 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/favicon.ico
[Sun Dec 05 00:50:59 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/500.shtml
[Sun Dec 05 00:49:35 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/404.shtml
[Sun Dec 05 00:49:35 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/favicon.ico
[Sun Dec 05 00:49:35 2010] [error] [client 96.38.69.221] File does not
exist: /home/scadzomb/public_html/404.shtml

Somehow I don't feel like thats the same problem I am seeing.

Alright so to break down my file structure:

Inside of
/home/scadzomb/public_html/
I have,
./web2py/

In the web2py directory I have all the contents of the unzipped and
ran once web2py_src.zip

I have added .htaccess with
-----
RewriteEngine On
RewriteBase /
RewriteRule ^web2py\.fcgi/ - [L]
RewriteRule ^(.*)$ web2py.fcgi/$1 [L]
-----

I have added routes.py which you can look at here:
http://scadzombies.org/documents/routes.py
This is a direct copy of the file so you can look at it.

And I have web2py.fcgi

-------------------------
#!/home/scadzomb/local/bin/python
import sys
from flup.server.fcgi_fork import WSGIServer
import gluon.main
application=gluon.main.wsgibase
## or
# application=gluon.main.wsgibase_with_logging
WSGIServer(application).run()

------------------------

On Dec 5, 12:52 am, Branko Vukelic <[email protected]> wrote:
> Check the server logs. That usually means there's a bug in your scripts.
>
>
>
>
>
>
>
>
>
> On Sun, Dec 5, 2010 at 3:40 AM, RyaneD <[email protected]> wrote:
> > I fixed the second problem but the first remains. I had messed up in
> > my implementation of routes.py completely user error, forgot a
> > parenthesis. :P As the traceback says.
>
> > So that error is gone, but when I navigate towww.scadzombies.org/web2py
> > I get the same 500 Internal Server Error
>
> > On Dec 4, 9:23 pm, RyaneD <[email protected]> wrote:
> >> I followed the instructions 
> >> onhttp://web2pyslices.com/main/slices/take_slice/68,
> >> which were starting to make sense but I am confounded with this error
> >> when i visithttp://www.scadzombies.com/web2py:
>
> >> --------------------------------------------------------------
>
> >> Internal Server Error
>
> >> The server encountered an internal error or misconfiguration and was
> >> unable to complete your request.
>
> >> Please contact the server administrator, [email protected] and
> >> inform them of the time the error occurred, and anything you might
> >> have done that may have caused the error.
>
> >> More information about this error may be available in the server error
> >> log.
>
> >> Additionally, a 500 Internal Server Error error was encountered while
> >> trying to use an ErrorDocument to handle the request.
>
> >> Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.8e-fips-rhel5
> >> mod_fcgid/2.3.5 Phusion_Passenger/2.2.15 mod_auth_passthrough/2.1
> >> mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server atwww.scadzombies.org
> >> Port 80
>
> >> -----------------------------------------------------------
>
> >> I believe this is reminiscent of the error that I get when I try to
> >> run web2py through ssh ever since I changed the routes.py script.
>
> >> -----------------------------------------------------------------------
>
> >> Traceback (most recent call last):
> >>   File "web2py.py", line 20, in <module>
> >>     import gluon.widget
> >>   File "/home/scadzomb/public_html/web2py/gluon/widget.py", line 25,
> >> in <module>
> >>     import main
> >>   File "/home/scadzomb/public_html/web2py/gluon/main.py", line 101, in
> >> <module>
> >>     rewrite.load()
> >>   File "/home/scadzomb/public_html/web2py/gluon/rewrite.py", line 119,
> >> in load
> >>     p[sym].append(compile_re(k, v))
> >>   File "/home/scadzomb/public_html/web2py/gluon/rewrite.py", line 83,
> >> in compile_re
> >>     return (re.compile(k, re.DOTALL), v)
> >>   File "/home/scadzomb/local/lib/python2.6/re.py", line 188, in
> >> compile
> >>     return _compile(pattern, flags)
> >>   File "/home/scadzomb/local/lib/python2.6/re.py", line 243, in
> >> _compile
> >>     raise error, v # invalid expression
> >> sre_constants.error: unbalanced parenthesis
>
> >> -----------------------------------------------------------------------
>
> >> On Dec 4, 7:21 pm, pbreit <[email protected]> wrote:
>
> >> > Unfortunately, Python in general is a bit harder to deploy than HTML
> >> > and PHP. Site5 has a few different hosting options so to help out it
> >> > would be good to know what sort of plan you are on. If it's Shared
> >> > Hosting, I think you will want to try the "fastcgi" option. The web2py
> >> > book doesn't really provide information on this however.
>
> >> > If you have:
> >> > /home/username/public_html
> >> > /home/username/web2py
>
> >> > Add and ".htaccess" file at:
> >> > /home/username/public_html/.htaccess:
>
> >> > And put this in it:
>
> >> > AddHandler fastcgi-script .fcgi
> >> > RewriteEngine On
> >> > RewriteCond %{REQUEST_FILENAME} !-f
> >> > RewriteRule ^(.*)$ ./web2py/fcgihandler.py/$1 [QSA,L]
>
> >> > There's going to be one major problem in that you can't access
> >> > "admin". This page discusses these issues but for 
> >> > Dreamhost:http://wiki.dreamhost.com/Web2py
>
> >> > I have had the best luck running the "web2py.ubuntu.sh" script on
> >> > fresh installs of Ubuntu 10.04 at Amazon or Rackspace Cloud.
>
> --
> Branko Vukelić
>
> [email protected]
> [email protected]
>
> Check out my blog:http://www.brankovukelic.com/
> Check out my portfolio:http://www.flickr.com/photos/foxbunny/
> Registered Linux user #438078 (http://counter.li.org/)
> I hang out on identi.ca:http://identi.ca/foxbunny
>
> Gimp Brushmakers Guildhttp://bit.ly/gbg-group

Reply via email to