[Cubicweb] rewriterule and base-url

Carlos Balderas carlos.balderas at gmail.com
Sat Mar 6 23:31:04 CET 2010

Hi everyone, I am changing the url of my application (forge) from
http://mydomain:8080/ to http://mydomain/forge (for instance).

What I am doing is:

1.- Enable rewrite module in our apache2 server (tested with Redirect
2.- Write the .htaccess file in /var/www/ path
3.- Put this lines in there

RewriteCond %(REQUEST_URI) ^/forge
RewriteRule ^/forge$ /forge/
RewriteRule ^/forge/(.*)$1 [L,P]

based on this link

4.- change my all-in-one.conf file
main.base-url = http://mydomain/forge

but I don't get it to work...

Any help will be very appreciated
Thank you very much
Carlos Balderas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cubicweb.org/pipermail/cubicweb/attachments/20100306/36417b0f/attachment-0186.html>

More information about the Cubicweb mailing list