I'm using debian linux. How do I change the default directory for apache2? I've found the configure file, but I don't have permission to change it. I could just copy drupal to the default apache2 directory, but I can't figure out how to get permission. I've tried cp in root terminal, but it says omitting directory drupal-5.2? enlighten me please.I'm a linux newbie, help me please!?
well if you can access the root shell than you can perform copy but you haveto use -r
ie
cp -r source destination
and as explained in above answer you can proceeed to change permissions using chmod.I'm a linux newbie, help me please!?
In the root terminal, you have to use the ';chmod'; command to change the permissions of the httpd.conf file, so that you can access it. More info on how to use this command can be found here:
http://catcode.com/teachmod/
Here's an example:
chmod a=rwx httpd.conf
This usage above will make everyone able to read, write, and execute the file.
Subscribe to:
Post Comments
(Atom)
No comments:
Post a Comment