SO debian, apache2 with wsgy and mod_rewrite load

Is posible redirect to subfolder when app is not specified on url?

example:

http://www.mysite.com/ -> http://www.mysite.com/wordpress/index.php

in case 
http://www.mysite.com/welcome/ (normal work, no redirect anything)

I test on /etc/apache2/sites-available/default:

WSGIDaemonProcess web2py user=www-data group=www-data

RewriteEngine on
RewriteCond %{HTTP_HOST} ^mysite\.com$
RewriteRule (.*) http://www.mysite.com/$1 [R=301,L]
RewriteRule ^$ wordpress[L]

<VirtualHost *:80>
  WSGIProcessGroup web2py
  WSGIScriptAlias / /home/www-data/web2py/wsgihandler.py
...
also I test

RewriteEngine On
RewriteRule ^$ /worpress[L]


Very thanks!

--
Dani



-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to