View Single Post

   
  #1 (permalink)  
Old 02-16-2008, 07:05 AM
Anders Normann
 
Posts: n/a
Default OpenBSD 3.8 - changing DocumentRoot in Apache

Have installed OpenBSD for the first time and found it relatively
painless. But the aim of the exercise is to establish a)A spare
webserver go hold my webpages until I have established a new permanent
server - which probably also will be OpenBSD. and b) Learn enough
about OpenBSD to do the switch mentioned ablove.

The problem(or maybe the "challenge") is that I allocated to little
space for /var. When I got Apache operational it went well until /var
was full. There is plenty room on my /home partition so I moved all my
webpages to /home/www/htdocs.

First I tried to make a symlink to this directory, but only got " --
not found on this server" when trying it out.

Then I changed the httpd.conf to "DocumentRoot "/home/www/htdocs" ",
but still no luck.

Can somebody please point my nose in the right direction? What am I
overlooking? Under Linux changing DocumentRoot worked.

Anders
Reply With Quote