PS...here is my apache error log.

/home/webapps/ans_hpf/demo, referer: http://www.xxx.com/ [Mon Sep 13
00:27:26 2010] [error] [client 27.110.243.102] File
does not exist: /home/webapps/ans_hpf/demo, referer: http://www.xxx.com/


On Sep 13, 1:36 pm, Monty808 <[email protected]> wrote:
> Hi
>
> i have two pages.  index.html and demo.html
>
> On the dev machinie using the build in server....everything works.
>
> On my apache server...I can get to the home page.  When I click this
> link...
> <a href='demo'>demo</a> I get an 404 error.
>
> So....why? demo.html is in the templates folder.  Below is mt class to
> render the demo page and I have
>
> urls=('/','index','/demo','demo')
>
> class demo:
>     def GET(self):
>         web.header("Content-Type","text/html; charset=utf-8")
>         return render.demo()
>
> Here is my .htaccess file
>
> <IfModule mod_rewrite.c>
>       RewriteEngine on
>       RewriteBase /
>       RewriteCond %{REQUEST_URI} !^/static
>       RewriteCond %{REQUEST_URI} !^/icons
>       RewriteCond %{REQUEST_URI} !^/favicon.ico$
>       RewriteCond %{REQUEST_URI} !^(/.*)+index.py/
>       RewriteRule ^(.*)$ index.py/$1 [PT]
>     </IfModule>
>
> What am I missing when it works on my dev machine.

-- 
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