"John Mellor" <[EMAIL PROTECTED]> writes: > I have tried to set up wwwoffle configuration to access my local webpages > without success. This is just a home workstation and the pages are > stored in /var/www/ and also in $HOME/public_html/, from where Apache > would find them OK. Having just realised that WWWoffle will save me > having to run Apache for cgi scripts I set these values in the > configuration, trying all sorts of combinations in conjunction with > http://localhost:8080/ but keep getting told that it ' could not be > found on the local webserver'. > > I guess I am just setting the wrong values and cannot figure out with > lots of trials and errors the correct ones. Can anyone help please.
WWWOFFLE will only server out files that are in the subdirectory of the cache called 'local' or any files that are symbolic links from there. If the WWWOFFLE cache is in the normal place of /var/spool/wwwoffle then you should be able to do: ln -s $HOME/public_html/ /var/spool/wwwoffle/local/~John and then go to: http://localhost:8080/local/~John and see the file $HOME/public_html/index.html To see the files in /var/www try deleting the /var/spool/wwwoffle/local directory and link it directly to /var/www. There are limitations of the WWWOFFLE server though: * Files must be word readable to be served. * There is no built-in directory listing. * The file index.html is the only name allowed for the default page. * CGI files must be listed in the WWWOFFLE configuration or they won't be run. * All URLs are in the http://localhost:8080/local/ path. -- Andrew. ---------------------------------------------------------------------- Andrew M. Bishop [EMAIL PROTECTED] http://www.gedanken.demon.co.uk/ WWWOFFLE users page: http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html
