People,
I have been going OK making my library app in:
/home/phil/src/ror/library
and using WeBrick to work on it. Now that I have got it into a
satisfactory state I want to move it to:
/var/www/html/library
and use Apache but there seem to be problems . .
I have this at the end of httpd.conf:
Alias /library/ "/var/www/html/library/public/"
Alias /library "/var/www/html/library/public/"
<Directory /library/>
Options ExecCGI
AddHandler cgi-script .cgi
AllowOverride all
Order allow,deny
Allow from all
</Directory>
My public/index.html file has in it:
<li><a href="/index.html">Home page</a>
<li><a href="/authors/list">Authors</a>
<li><a href="/books/list">Books</a>
In public/.htaccess I have:
RewriteEngine On
RewriteBase /library/
but when I click on Authors I get:
Not found
The requested URL /authors/list was not found on this server.
I am guessing there is simple fix . . but all my path permutations have
failed . .
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
Mobile: +61:(0)411-185-652
Fax: +61:(0)2-8221-9599
E-mail: phil@pricom.com.au