Jump to content

Editing Files in the WWW Folder?


Lamez

Recommended Posts

Ok, so I installed Ubuntu 8, and I installed L.A.M.P., using this tutorial: http://www.howtoforge.com/ubuntu_lamp_for_newbies

 

What my problem is, I wanna edit the files that are the WWW folder, but I get an error message that tells me I do not have the permissions to do that. I am the system admin, so how do I do it?

 

-Thanks Guys!

Link to comment
https://forums.phpfreaks.com/topic/129038-editing-files-in-the-www-folder/
Share on other sites

The script to start Apache is /etc/init.d/apache2, it can be called using....

 

sudo /etc/init.d/apache2 restart

 

However, Apache should have already been added to /etc/rc2.d (which controls the default runleve by apt-get. You did install via apt-get didn't you?

 

Can I see the output of the following?

 

ls -l /etc/rc2.d

ah, now I got it running, I still get the forbidden error.

 

@thorpe

Yes I do believe so, I did exactly like that tutorial!

total 4
-rw-r--r-- 1 root root 556 2008-04-19 01:05 README
lrwxrwxrwx 1 root root  19 2008-10-18 07:07 S01policykit -> ../init.d/policykit
lrwxrwxrwx 1 root root  17 2008-10-18 07:07 S05vbesave -> ../init.d/vbesave
lrwxrwxrwx 1 root root  15 2008-10-18 07:07 S10acpid -> ../init.d/acpid
lrwxrwxrwx 1 root root  25 2008-10-18 07:07 S10powernowd.early -> ../init.d/powernowd.early
lrwxrwxrwx 1 root root  18 2008-10-18 07:07 S10sysklogd -> ../init.d/sysklogd
lrwxrwxrwx 1 root root  34 2008-10-18 07:07 S10xserver-xorg-input-wacom -> ../init.d/xserver-xorg-input-wacom
lrwxrwxrwx 1 root root  15 2008-10-18 07:07 S11klogd -> ../init.d/klogd
lrwxrwxrwx 1 root root  14 2008-10-18 07:07 S12dbus -> ../init.d/dbus
lrwxrwxrwx 1 root root  23 2008-10-18 19:37 S17mysql-ndb-mgm -> ../init.d/mysql-ndb-mgm
lrwxrwxrwx 1 root root  22 2008-10-18 07:07 S18avahi-daemon -> ../init.d/avahi-daemon
lrwxrwxrwx 1 root root  19 2008-10-18 19:37 S18mysql-ndb -> ../init.d/mysql-ndb
lrwxrwxrwx 1 root root  15 2008-10-18 19:37 S19mysql -> ../init.d/mysql
lrwxrwxrwx 1 root root  16 2008-10-18 07:07 S20apport -> ../init.d/apport
lrwxrwxrwx 1 root root  16 2008-10-18 07:07 S20cupsys -> ../init.d/cupsys
lrwxrwxrwx 1 root root  22 2008-10-18 07:07 S20hotkey-setup -> ../init.d/hotkey-setup
lrwxrwxrwx 1 root root  23 2008-10-18 07:07 S20nvidia-kernel -> ../init.d/nvidia-kernel
lrwxrwxrwx 1 root root  19 2008-10-18 07:07 S20powernowd -> ../init.d/powernowd
lrwxrwxrwx 1 root root  15 2008-10-18 07:07 S20rsync -> ../init.d/rsync
lrwxrwxrwx 1 root root  15 2008-10-18 23:58 S20samba -> ../init.d/samba
lrwxrwxrwx 1 root root  16 2008-10-18 07:07 S24dhcdbd -> ../init.d/dhcdbd
lrwxrwxrwx 1 root root  13 2008-10-18 07:07 S24hal -> ../init.d/hal
lrwxrwxrwx 1 root root  19 2008-10-18 07:07 S25bluetooth -> ../init.d/bluetooth
lrwxrwxrwx 1 root root  20 2008-10-18 07:07 S25pulseaudio -> ../init.d/pulseaudio
lrwxrwxrwx 1 root root  13 2008-10-18 07:07 S30gdm -> ../init.d/gdm
lrwxrwxrwx 1 root root  17 2008-10-19 15:21 S50apache2 -> ../init.d/apache2
lrwxrwxrwx 1 root root  17 2008-10-18 07:07 S89anacron -> ../init.d/anacron
lrwxrwxrwx 1 root root  13 2008-10-18 07:07 S89atd -> ../init.d/atd
lrwxrwxrwx 1 root root  14 2008-10-18 07:07 S89cron -> ../init.d/cron
lrwxrwxrwx 1 root root  17 2008-10-18 07:07 S98usplash -> ../init.d/usplash
lrwxrwxrwx 1 root root  22 2008-10-18 07:07 S99acpi-support -> ../init.d/acpi-support
lrwxrwxrwx 1 root root  21 2008-10-18 07:07 S99laptop-mode -> ../init.d/laptop-mode
lrwxrwxrwx 1 root root  18 2008-10-18 07:07 S99rc.local -> ../init.d/rc.local
lrwxrwxrwx 1 root root  19 2008-10-18 07:07 S99rmnologin -> ../init.d/rmnologin
lrwxrwxrwx 1 root root  24 2008-10-18 07:07 S99stop-readahead -> ../init.d/stop-readahead

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.