qwerty

Unregistered less info
86 reputation
238
bio website
location
age
visits member for 2 years
seen Sep 25 '12 at 15:43

Aug
23
awarded  Famous Question
Jul
2
awarded  Curious
Dec
2
awarded  Famous Question
Jun
26
awarded  Notable Question
May
17
awarded  Notable Question
Apr
8
awarded  Notable Question
Feb
22
awarded  Popular Question
Feb
12
awarded  Popular Question
Dec
13
awarded  Popular Question
Sep
13
revised Apache 403 Forbidden on sub folders?
added 137 characters in body
Sep
13
revised Apache 403 Forbidden on sub folders?
added 137 characters in body
Sep
13
comment Apache 403 Forbidden on sub folders?
I updated the question once again, i can't seem to cd into any subdirs from www-data either.
Sep
13
comment Apache 403 Forbidden on sub folders?
Please see my updated question.
Sep
13
comment Apache 403 Forbidden on sub folders?
You're right, i checked the log and updated the question with the error message.
Sep
13
revised Apache 403 Forbidden on sub folders?
added 137 characters in body
Sep
13
comment Apache 403 Forbidden on sub folders?
Oh okay. What do you mean by "ignore that step"? Could i install selinux and run that command to fix it? Is there another approach to fix the issue? How do i know it is permission related?
Sep
13
comment Apache 403 Forbidden on sub folders?
I keep hearing about selinux, but i don't think i have it enabled because i keep getting "command not found" when i run selinux commands. Can't i just run a script and set the correct permissions for all subfolders automatically?
Sep
13
asked Apache 403 Forbidden on sub folders?
Sep
12
comment Execute shell script from php, as root user?
No other ideas huh?
Sep
10
comment Execute shell script from php, as root user?
I looked at the path i added to the sudoers file and realized the path i wrote was to the add_user.sh script, which isn't being used now. I'm just calling sudo ls from index.php as i said earlier, so add_user.sh has nothing to do with it. I tried changing the path to /var/www/index.php instead but that didn't work either. When i think about it though, the script isn't really being run from the index.php file itself, right? Apache/PHP reads the file and then procceses the contents, right? Maybe need to add permission to some apache/php path in the sudoers file?