0
votes
0answers
18 views

Desperate with Apache2 and cgi (Ubuntu 12.04). Help :(

Im having an issue installing apache2 in Ubuntu 12.04. Im trying to set the cgi-bin folder in the path /home/www/cgi-bin. Ive followed and search all over the internet but I still dont get it... ...
0
votes
1answer
26 views

Allowing apache to access /home/user directory

I have a text file at /home/user/textdata that user change it everyday and I have a PHP script at /var/www/ that want to read that text file. How to add the permissions?
0
votes
1answer
48 views

Sudoers NOPASSWD for command not working but ALL is

I've been trying to grant www-data to use sudo service apache2 restart without a password but no matter what I try, nothing works. I have read a few hundred posts regarding this issue on different ...
0
votes
1answer
32 views

image from webserver is not shown in web browser

I am new ubuntu and recently I install 'xampp 1.8.1' on my ubuntu 12.10. My problem is that image from server can not be shown. My code is <div class="sideBlock unSung"> <h4>Unsung ...
1
vote
0answers
73 views

How do I copy files with SCP to /var/www?

I need to copy files from my computer to my server's folders in /var/www so they are uploaded to my cloud. Here's what I try to do: I open my computer's terminal and type: scp ...
0
votes
1answer
64 views

User permissions on upload directory

Uploading files via my website fails because apache is not recognized as having write access. However, my permissions show otherwise. Any ideas? When uploading via script, the script returns ...
0
votes
1answer
98 views

How to make a directory permanently writable?

I am using LAMP stack for development and I have a problem with making /var/www permanently writable. I use this command: sudo chmod -R a+rwX /var/www This works, but after putting a web app and ...
0
votes
2answers
91 views

How to fix a permissions problem on www folder?

I have created a directory in my www folder using terminal and root user. Then, create some text files in that folder (with terminal and root user). Now, when I want to access these files and ...
0
votes
0answers
27 views

Apache2 XAMPP - permissions for DirRoot wont change

I am trying to set up Apache2 on Ubuntu 12.10 with XAMPP. I have an external HDD that I plan on using for the Doc-Root, so I changed the Doc-Root to /media/root/external; but when I try to change the ...
0
votes
0answers
57 views

Apache permission issue: home directory after log out

I have used VirtualHost to set the root document of my domain into my user's home directory. If I login the user, the webpage could be displayed in the navigator. However, if the corresponding user ...
0
votes
1answer
163 views

12.10 403 Forbidden SymLink

I am trying to set up a simple development environment and even after setting all the permissions, I can't get past the 403 error <VirtualHost *:80> ServerAdmin webmaster@localhost ...
0
votes
1answer
173 views

How to give my user permission to add/edit files on local apache server? [duplicate]

Possible Duplicate: How to make Apache run as current user I'm setting up my local test server again, and I seem to have forgotten how to successfully set up the LAMP server. I have ...
1
vote
1answer
549 views

Why is my WordPress installation unable to create a directory?

I am a new user of Ubuntu 12.04 64 bit and I want to test WordPress on my local PC installation. I've only installed LAMP and the latest version of WordPress for now. Further actions were creating a ...
1
vote
1answer
255 views

public_html permissions for local development

I know this question has popped up a couple times, but I can't seem to find a definitive answer to my issue, so please bear with me. I have Ubuntu Server 12.04 setup in VirtualBox for PHP development ...
2
votes
1answer
762 views

Adding Apache to User Group

OK. Total beginner question, please bare with me. We have a small LAMP server running Ubuntu 12.04 LTS which contains a few sites. Access to the vhosts directories is set to ...
0
votes
1answer
300 views

Change permission for ALL folders and files [duplicate]

Possible Duplicate: How to avoid using sudo when working in /var/www? I've been around Ubuntu for not too long now and I'm getting tired of a thing I used to accept. When I installed Apache ...
1
vote
2answers
4k views

SFTP permission denied on files owned by www-data

I have a pretty standard server set up running Apache and PHP. An app I am running creates files and these are owned by the Apache user www-data. Files that I upload via SFTP are owned by my own user ...
2
votes
2answers
70 views

Permission to run telnet from a webpage

I'm trying to run telnet:localhost:2017 from a firefox webpage in ubuntu 10.10. I have created the necessary file association within firefox to launch telnet, but I think I need to give apache the ...
0
votes
1answer
1k views

Change permission from -rwxrwxr-x to drwxrwxr-x

I have a php file which is trying to read and write xml files on my Ubuntu server, however the problem is that it does not have permission to do this (permission denied error). I have tried the ...
2
votes
1answer
626 views

link windows xampp htdocs dir with linux www dir

I'm migrating from Windows to Ubuntu. I've installed Apache on Ubuntu. It keeps files in /var/www/ folder. When I was on Windows, I've had used XAMPP, which keeps files in /xampp/htdocs/. So I don't ...
1
vote
1answer
394 views

What are proper permissions for localhost php files? Getting 403 error

This is driving me crazy. Really crazy. Quick story. I've created a symlink: sudo ln -s /home/richardmandx/Dropbox/www /var/ When i go to localhost (installed via sudo task-sel lamp-server) You ...
2
votes
4answers
811 views

Permissions for apache webroot folder on dev server?

I am a web developer and have Apache setup on my local system for testing. I keep running into issues with the permissions e.g. unless I chmod any new directories to 777 my IDE cannot write to the ...
0
votes
0answers
20 views

12.04 LTS Apache2 writing files from webpage at runtime has no effect - possible read/write permissions? [duplicate]

Possible Duplicate: Whats the simplest way to edit and add files to “/var/www”? I'm running 12.04LTS with Apache and Mono in VirtualBox, with the goal of hosting a web app ...
0
votes
0answers
216 views

giving apache permission to access display on remote machine

Well, I'm trying to create a remote control web page for my Ubuntu desktop machine. I want to give it an option to lunch gui application such as firefox or vlc. I have added ``export DISPLAY=':0' to ...
3
votes
1answer
5k views

Apache gives 403 Forbidden

Server: Ubuntu 12.04 w/ LAMP I can access the default index.html, but I created a symbolic link to a folder in my Dropbox. Whenever I try to access 192.168.2.6/Joomla (Joomla is the symbolic link), I ...
1
vote
1answer
2k views

Apache - 403 Forbidden - changed dir for default in sites-available

I'm sorry if this is a repeated question, but i have tried all the possible solutions from the other answers... I just installed apache, php5, ..., the works I can access http://localhost and get ...
1
vote
2answers
1k views

permission denied in sites-available

I am new to ubuntu.I install LAMP pakage acording to this page. I want to create new website such as say in this article. but when I create my site in "sites-avalible" and whant to chanege it and ...
1
vote
1answer
242 views

Optimal owner / permission settings for a website directory running on apache

I am running Ubuntu on my vserver and I have set up quite a few settings concerning my topic. But I am not really sure if it is set up correctly. My current setup is the following: Apache2: export ...
6
votes
3answers
2k views

How to make Apache run as current user

I think for a development machine, its more convenient to run Apache as the current user to simplify permissions problem? How do I do that? I think its suexec but how do I configure it in ...
1
vote
1answer
301 views

vsftp user created files cannot be read by apache2

I have a Ubuntu 11.10 server setup with rackspace. Pretty basic setup LAMP, vsftp. Create a new user for vsftp that can create files on the server perfectly fine. But the files seem to be ...
0
votes
3answers
2k views

Apache2 doesn't give files away

what could it be a reason for such an error: If I go: http://myhost/munin/ I get 403 Error: Forbidden. You don't have permission to access /munin/ on this server. Permissions for files are the ...
2
votes
2answers
4k views

403 Forbidden problem with Apache

Strange, I have change folder users/groups to www-data (sudo chown -R www-data:www-data /datos/www) and also have changed permission to 755 (sudo chmod -R 755 /datos/www), but still getting 403 ...
3
votes
1answer
6k views

Configuring Permissions for FTP and Apache

I have a web server (Apache2) that i access with FileZilla. On my web server i have a dir /home/admin/www that i binded to /var/www. So i can access it with FTP. This works perfect! But everytime ...
2
votes
5answers
13k views

Change XAMPP's htdocs web root folder to another one

I'm trying to change the XAMPP's web root default directory /opt/lampp/htocs to another one like /home/me/Dropbox/public_html without success. I've edited the file /opt/lampp/etc/httpd.conf # old ...
0
votes
2answers
2k views

Add user that can read / write a root, www-data files

How can I do that? I got user amira on my Ubuntu 11.4, I want him to able to see / read / write a root user files such as /etc/* and apache files
6
votes
1answer
2k views

How do we know that a directory is apache writable?

I've been told that I should create a images folder and an assets folder, and that I needed to make sure that: "they are apache writable". I've also been told to make the app/runtime directory ...
1
vote
1answer
703 views

Give apache permission to write to /home/*/www/ directories

LAMP server newbie here: I have a web server (on a VPS that I have full root access to), in which I'm setting up a few users with websites for. I have apache2 and php set up, and I have manually ...
1
vote
1answer
184 views

How to set a folder inside an apache document to the correct permission?

When i try to get to some apache2 folder it gives me You don't have permission ... How to give the folder and the files full permission of usage ?
1
vote
1answer
3k views

Allowing apache access to a subdirectory in a home directory without access to the home directory

I am running Ubuntu 11.04 desktop with encrypted home directories. I do development work on my computer and I want to have my webroot directory to be within my home directory so it is encrypted with ...
1
vote
3answers
679 views

how to change file permission of a file permanently that is set back to default on boot

I have a file /var/logs/apache2/error.log. And every time I boot, Its file permission is changed to default (unwritable) by the system. So, i have to run chmod command every time i boot-up. How to ...
8
votes
4answers
10k views

How can I recursively change the permissions of files and directories?

I have ubuntu installed on my local computer with apache / php / mysql. I now have a directory at /var/www - inside which I have several of my ongoing projects. I also work with opensource ( drupal, ...
1
vote
2answers
2k views

Making file in user's homedir accessible from web/webserver

I have a txt-file one of my user's homedir which is regularly updated there by a script. I now want to be able to access (read) this file from the web. /home/user/folder/file.txt So what I tried ...
7
votes
2answers
3k views

AWStats: cannot access /var/log/apache2/access.log

I installed awstats on my new Ubuntu Lucid server, but when cron tries to run it as user www-data, it complains that cannot access /var/log/apache2/access.log: Permission denied. In ...
29
votes
2answers
8k views

Why should /var/www not have chmod 777

When opening a page from my server, I sometimes get a "Permission denied" error which I can solve by running chmod -R 777 /var/www. However, people are telling me that this is a bad idea for security ...
7
votes
4answers
8k views

Apache symlinked to home directory - Permission Errors

im having a few problems symlinking my /var/www/ to a new Webroot directory inside my home folder. I think these stem from my lack of understanding of linux permissions. As far as im aware, symlinks ...
3
votes
1answer
2k views

How do I give apache access to a samba share?

I'm running a web server and the public_html folder is in a windows network drive shared by samba on Ubuntu Server 10.04. I have apache2 VH set to point to the folder and it works great. However, ...
3
votes
2answers
3k views

Having permission problems with XAMPP

I installed xampp with no problems, and then ran the command to set security. Apparently setting security locks you out of the directories even at the file system level, not just via FTP - when I look ...
1
vote
1answer
2k views

External hard drive permissions problem with apache since 10.04 upgrade

I have a Fat32 external hard drive plugged into my server at home and since upgrading to Ubuntu 10.04 (from 8.10 - it was a bug jump!) I've been having permissions trouble with it. It used to be ...
1
vote
2answers
5k views

403 Forbidden Error when accessing enabled virtual host

When accessing a site defined in my local dev environment, I can't seem to get past a 403 Forbidden error. Under /etc/apache2/sites-available/ I have defined a file fun.local: <VirtualHost ...