Hi everyone

I am trying to deploy web2py in www.bioinformatics.org.
I had unzipped web2py into ~/public_html/refgene which is then suppose to 
be accessed as www.bioinformatics.org/refgene but I cannot seems to get it 
to work.

 http://www.bioinformatics.org/refgene
 Routes to
 http://www.bioinformatics.org/welcome/default/index
 Rather than
 http://www.bioinformatics.org/refgene/welcome/default/index

So what I did is to rename routes.example.py to routes.py

The only thing that I can think of (with limited knowledge) is to change 
the BASE option.

Case 1: BASE = 'refgene'
Result: 
Gives problems in redirection (seems like endless loop). 
http://www.bioinformatics.org/refgene
Routes to
http://www.bioinformatics.org/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/refgene/welcome/default/index

Case 2: BASE = 'www.bioinformatics.org/refgene'
Result: http://www.bioinformatics.org/refgene
Routes to
http://www.bioinformatics.org/www.bioinformatics.org/refgene/welcome/default/index

Any idea how to get it to route to just 
http://www.bioinformatics.org/refgene?

Thanks in advance.

Maurice

-- 



Reply via email to