-Modified the line in VirtualHosts.ini
from:"127.0.0.1 * * *|main *"
To:"127.0.0.1 * * test|main index.html"
Close, but not quite. If you read the documentation in
VirtualHosts.ini, it says this:
The web root portion should be a URL-style (Unix) path. If it is
relative (not beginning with "/")
it is relative to the default directory
Relative to the **default** directory, not the *web* directory.
Therefore the entry should be:
127.0.0.1 * * web/test|main index.html
"127.0.0.1:8080/test/" doesn't work unless I add index.html as a
default
page in Active4d.ini
You may have set index.html as the default page for that virtual host,
but you didn't specify index.html as a default page to try in
Active4D.ini. If given a directory as a url, Active4D tries the
default pages listed in the 'default page' in Active4D.ini. Since
index.html is not listed there, it is not tried.
Kind regards,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoy.org
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/