On 14 sep, 15:22, mdipierro <[email protected]> wrote:
> inroutes.py
>
> routes_in=('/myapplication/(?P<any>.*)','/\g<any>'),)
> routes_out=('/(?P<any>.*)','/myapplication/\g<any>'),)
>

This is my virtual host:

NameVirtualHost 127.0.0.1:port
<VirtualHost 127.0.0.1:port>
  ServerName mydomain.com
  DocumentRoot /home/myaccount/webapps/apachew2p/web2py/applications/
myapplication

  RewriteEngine On
  RewriteRule ^/$ /myapplication/ [R]

  <LocationMatch "^(/[\w_]*/static/.*)">
    Order Allow,Deny
    Allow from all
  </LocationMatch>

  <Location "/">
    Order Deny,Allow
    Allow from all
  </Location>
</VirtualHost>


When I upload routes.py and restart apache, this is the mistake by
putting the url: www.mydomain.com

Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request.

Please contact the server administrator, [no address given] 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.

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

Reply via email to