Hi all,

I am new to akhet and I am trying examples to test and comprehend how it 
works. 

Have created an Zzz application like in the guid from 
http://docs.pylonsproject.org/projects/akhet/dev/usage.html and every thing 
is running ok under apache2 with this configs:



*Application directory*
 /media/Dados/Helio/Codding/Zzz/

*changes development.ini in application directory*
 [server:main]
 #use = egg:Paste#http
 *use = egg:Flup#fcgi_thread*
 host = 127.0.0.1
 port = 5000


*Apache directory*
/var/www/zzz

*.htaccess in apache directory*
Options +ExecCGI
AddHandler fastcgi-script .fcgi
RewriteEngine On
RewriteRule   ^(static/.*)$ - [L]
RewriteRule   ^(dispatch\.fcgi/.*)$  - [L]
RewriteRule   ^(.*)$  dispatch.fcgi/$1 [L]

*dispatch.fcgi in apache directory*
#!/usr/bin/env python
myapp = '/media/Dados/Helio/Codding/Zzz'
#inifile = 'production.ini'
inifile = 'development.ini'
import sys, os
sys.path.insert(0, myapp)
from paste.deploy import loadapp
wsgi_app = loadapp('config:' + myapp + '/' + inifile )

if __name__ == '__main__':
    from flup.server.fcgi import WSGIServer
    WSGIServer(wsgi_app).run()


My problem is that the url.app and url.ctx returns the url 
http://duosoft.ath.cx/zzz/*dispatch.fcgi*/. Is there a way to remove 
'dispatch.fcgi' from the url?

Many thanks for your help,
Helio Pereira










-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to