Homepage on a Apache2 server
Gareth Bowker
tgb at tgb.org.uk
Thu Dec 23 18:45:20 UTC 2004
On Thu, 2004-12-23 at 13:26 -0500, Drew, Bill wrote:
> Now it won't let me save a file to that directory without doing sudo.
> Should that be the case?
Yes.
Remember, apache's normally used on servers, often with multiple users.
You don't want to let just anybody change the web pages.
Another option, at least while you're developing your pages, might be to
use a user directory. In your home directory, create a directory called
public_html and put all your files in there. You can then look at them
by going to http://address-of-server/~your-username/ e.g. on my laptop,
I'd type http://10.0.0.101/~tgb/ . Once you're happy, use sudo to copy
the files to /var/www .
Gareth
More information about the ubuntu-users
mailing list