0
votes
0answers
21 views

Ownership in LAMP [duplicate]

I am relatively new to managing my own server but I am very eager to learn and right now I am able to install my own LAMP stack on an Ubuntu server 12.04 x64. I am using WordPress as for my blog, now ...
0
votes
0answers
24 views

Permissions not changing in Terminal [closed]

I have a web server and I'm trying to change the permissions to my var/www/home folder so that it'll show on the Internet. I have created the folder home into the folder var/www/ When I do ls -l ...
0
votes
0answers
13 views

Projects in /var/www folder are not accessible? [duplicate]

I am using Ubuntu 13.10 and come from Ubuntu 13.04. First check locahost, It's work fine. PhpMyAdmin is also work fine. I look some related problem here. But some similarities with this answer and ...
0
votes
1answer
76 views

Prestashop “Recursive write permissions” error

Trying to install prestashop locally (LAMP), the following error list prevents installation from moving forward. Permissions on files and folders Recursive write permissions for www-data user on ...
0
votes
2answers
21 views

OEM Server www directory permissions

I am building a simple LAMP that records factory automation data and serves that info locally to tablets and PC's via wifi. I have it set to boot-up automatically when power is applied and log-in ...
-1
votes
1answer
39 views

LAMP 403 Forbidden after 13.10 upgrade

After upgrading to Ubuntu 13.10 from 13.04, my localhost started throwing 403 errors. The default DocumentRoot and Directories are both equal to one another, and the permissions on the default folder ...
-1
votes
0answers
35 views

phpmyadmin and ubuntu external database [closed]

I have a web server running apache and php5 and another server that runs my mysql. I've setup phpmyadmin on the apache server, and got it running... Took some doing, but I got it to create the ...
0
votes
1answer
23 views

What owner and mod should I give to /var/www [duplicate]

I would like to be able to edit the source code of my website from my editor and also allow the website to load in the browser. With sudo chown -R 'www-data':'www-data'the code is not editable but ...
0
votes
1answer
32 views

Using FTP to edit a file removes Apache permissions

If I edit a file using FTP with vsftpd on ubuntu 12.04 LTS... It removes the permissions that allow Apache to access the file... Currently If I upload a file with FTP, if it is a .php file it will ...
0
votes
1answer
185 views

Apache AH00035 error: is it possible to place site directory on a mounted media without losing security?

I tried to put site files on an encrypted disk that's mounted to /media and got (13)Permission denied: AH00035: access to / denied (filesystem path '/media/username/partition') because search ...
0
votes
0answers
63 views

AWS FTP to /var/www access denied to write

Ok, so I just got my amazon web services EC2 server up and running with apache. When I ftp into the server using IP and KEY.pem you create when setting up the server. Everything is good, but when I ...
1
vote
2answers
29 views

Assining permission to www folder

Very new to Linux (Ubuntu). So getting lost each moment where this time I just installed Apache and trying to create file in www folder. But it is giving permission error. Now I don't even know how ...
0
votes
2answers
74 views

Can't access apache error logs

My Ubuntu vitual server wen't offline. I rebooted it and now want to debug what happened. I can browse to /etc/log but if I try cd apache2 it says Permission denied. I'm sure my user account has ...
3
votes
1answer
63 views

Ubuntu 12.04 Server - Default directory permissions

I am new to linux and I installed linux for web server purpose with apache2. I have created a new directory /var/www/mysite. My main problem is that each new file I create has read only permissions ...
0
votes
2answers
119 views

Problems with the /var/www folder

I am new to Ubuntu, I've installed 12.04. I used to use wamp server on Windows, and after changing OS I moved some files from www folder to /var/www on Ubuntu. But when I try to view that folder in a ...
0
votes
1answer
50 views

Add existing user to Unity

Short story How can set Unity as desktop environment for an user created with Shell? Long story On a VM running Ubuntu 12.04 configured as LAMP, I need to use the desktop environment Unity for the ...
0
votes
1answer
29 views

Apache2 configuration and security

I have installed apache2 under ubuntu 12.04. First I read the differences about mpm worker and prefork. in my case it is in worker. In my apache2.conf I have : <IfModule mpm_worker_module> ...
3
votes
1answer
119 views

How to give a specific user access only to a specific folder and its contents?

I used adduser <name> and created a new user, andrew. Now I want to give him read/write access only to /var/www/sitename.com and its contents. How am I supposed to do this? I tried sudo ...
0
votes
1answer
86 views

Apache Tomcat cannot be started as a non-root user

I manually started Apache Tomcat 6 via the command $CATALINA_HOME/bin/startup.sh and this is the result - Using CATALINA_BASE: /home/getx/Desktop/apache-tomcat-6.0.37 Using CATALINA_HOME: ...
1
vote
2answers
127 views

Apache permission problem in ubuntu 12.04

i am new to ubuntu , i have install ubuntu 12.04 install in my system i have install localhost(lamp) in my system . i was trying to import a data base with more size so dor that i need to change the ...
1
vote
2answers
169 views

Ubuntu 13.10 apache keeps giving this error while accessing website

I have just installed Ubuntu 13.10. I followed this guide (most of it) to setup LAMP. Then I was getting this error about Could not reliably determine the server's fully qualified domain name ...
0
votes
1answer
37 views

Help with directory ownership/permissions for apache

I've been using Ubuntu Linux for a couple years now but I still have trouble with permissions. I need to setup my web server for production. The root web directory should always be accessible by ...
0
votes
2answers
6k views

ERROR 1045(28000) : Access denied for user 'root@localhost' (using password: no )

I got a problem with mysql server Actually i am not sure im tring to install queXS cati app on my ubuntu desktop i installed mysql server and php5 and when im trying mysql -u root it says "ERROR ...
1
vote
1answer
342 views

Permission problem with SFTP in FileZilla

Recently, we installed Ubuntu Server on our servers this is very new for us. However, we tried to setup a apache2 server which did work. But the problem is that we can't configure apache and other ...
0
votes
0answers
55 views

cron job exetue, but receive error + 500 internal server error

I created a cron job on my apache server's cPanel, every 5 minute push the script, with this command: lynx -source http://mydomain.com/...c_html/xxxx.php and that script does not execute.. i receive ...
0
votes
2answers
84 views

Is it Good Practice to Change Apache's /var/www/ (Default Root Directory)?

When you install Apache, PHP's default folder is /var/www/ by default. Some developers find it necessary to change the root directory to something like: /home/public_html/ (many shared hosting ...
0
votes
0answers
34 views

403 Virtual Host Error — ugh [duplicate]

I've followed every example of what to do in every question that's been asked about this issue here on ask ubuntu and yet, it still doesn't work (but what's strange is some sites now get 500 errors ...
0
votes
1answer
153 views

403 apache error with alias to ntfs partition

My machine is currently a dual boot between Ubuntu saucy and Win 8.1. I would like to have a common directory for my web development files and so I'm trying to make an alias for apache pointing to my ...
0
votes
3answers
95 views

Apache could not access to copied folder: 403 Access Forbidden

I'm new to Ubuntu. I have installed LAMP on Ubuntu and everything is OK but while I copy a folder into /var/www it is not accessible via URL. I have tried following commands: sudo cp -r Desktop/site ...
1
vote
2answers
3k views

default permissions for /var/www

I was trying to open a file and write to it with PHP at /var/www folder but it wasn't working so I did sudo chmod 777 var/www now I want to set the permissions for var/www to the default. what are ...
0
votes
1answer
158 views

Problems with permissions in apache Ubuntu 13.10

I have had some problems with setting up my localhost. I have been following this guide --> how-do-i-set-up-a-local-domain-name-in-apache-and-ubuntu But now I'm stuck my localhost only returns a 403 ...
0
votes
1answer
252 views

Apache2 server failed to start after enabling `mod_rewrite`, returns “Operation Not Permitted” errors

I am trying to install cakephp ( a php framework) which requires to enable mod_rewrite. For this I followed Enable mod_rewrite answer. But after restarting my server It says: nitish@nitish-G31T-M7:~$ ...
0
votes
1answer
75 views

Giving www-data access to files with 750 permissions

I have a situation where I want to prevent users of the system to browse each other's home dirs. So all home dirs have 750 permissions, instead of 755. Some users have www folders where they host ...
0
votes
2answers
94 views

Permissions for an apache2 virtual host

I'm usuing Ubuntu 12.04LTS and have created an apache virtual host in my local file system for a site I'm developing. However, when apache tries to access the site, it can't because the ownerships ...
0
votes
0answers
89 views

problem with playing mp4 file on apache hosted webpage

I hope someone could assist me. My problem is: I want to achieve playing a mp4 file in webpage hosted by my apache2 server. Now I tried everything but he keeps giving me nothing. First my php ...
0
votes
1answer
64 views

./opt/lampp folder & file editing help

I installed XAMPP but I need to edit folders and files in there. I did the following groupadd lampp usermod -a -G lampp kyle chown -R root:www-pub /var/www chmod 2775 /opt/lampp find /var/www -type ...
1
vote
1answer
817 views

403 forbidden error for all local projects after updating php and apache

I have 5 web app projects in my local machine with Ubuntu 12.04 installed on it. Everything was good, but today when I started a new project with symphony, I found that I should upgrade php to 5.4.x, ...
0
votes
1answer
48 views

System boots in console + login loop (wrong root and home filesystem permissions)

I messed up my system while trying to fix permission problems for setting up a LAMP local server. I tried this solution: How to avoid using sudo when working in /var/www? without success. Then I saw ...
0
votes
1answer
187 views

apache2 wont display a folder - while another folder works…confused

I am on Ubuntu 13.10 PHP5 and am an intermediate PHP developer Exact same file (1.php) in 2 diff folders - one works and the other doesnt... http://localhost/vetpro2/1.php The above works as ...
0
votes
1answer
101 views

phpmyadmin not working because i changed permissions and don't know how to change it back

I installed LAMPP and it worked fine, but i somehow managed to change the permission of the folder /opt/lampp/ to 777 by using this command sudo chmod 777 -f /opt/lampp -R My plans was to do: ...
0
votes
2answers
54 views

forbidden folder name in apache?

I have a little web server I run to help me at work. In an effort to neaten up the internal bits, I made a folder named "doc" for documents. When i try to navigate to that folder I get You don't have ...
0
votes
1answer
209 views

Wordpress permissions problem on apache2 server

I have a windows 7 system. On this system i am running a VM Virtual box LAMP Server with Ubuntu 12.04,apache2, mysql and phpmyadmin... which is accessable via the internet. I installed Wordpress ...
0
votes
1answer
35 views

Changed apache www folder

So I changed it from /var/www to /home/John/Dropbox/www and I also did chmod 755 /home/John/Dropbox/www but it still says You don't have permission to access / on this server. I forgot how to do ...
0
votes
1answer
458 views

This location could not be displayed You do not the permissions necessary to view the contents of www

I cant acces /var/www all of the sudden... also I would like to just give the user "loko" all the permissions. How can i get the error I am getting all of the sudden and how to fix it? Yesterday it ...
0
votes
2answers
173 views

Permission to delete files

I am very new to Ubuntu I installed apache and I got the directory /var/www but I cant delete anyhting in that directory. It says: You are not the owner Now I assume I have to log in as root? but how ...
2
votes
1answer
912 views

apache forbidden to acces `index` file on ntfs partition

After Installing my apache, i edited the /etc/apache2/apache2.conf file, and added in the bottom-line, the following code: <VirtualHost *:80> DocumentRoot ...
1
vote
1answer
107 views

Apache permissions issue

I have changed my DocumentRoot to /home/user/www. To achieve that I have just changed the 2 occurrences of the path at /etc/apache2/sites-available/default. The permissions of /home/user/www are ...
1
vote
1answer
212 views

wwwdata user not working when permissions are 400-500 - 403 forbidden access

securing my server i found that using: find . -type f -exec chmod 400 {} \; find . -type d -exec chmod 500 {} \; display 403 forbidden access. if I use: find . -type f -exec chmod 644 {} \; ...
1
vote
1answer
45 views

Prevent non-root users from viewing /var/www

Is there a way to prevent users from viewing /var/www? I tried chmod 0750 on /var/www, however, that prevented the webserver from viewing the files as well. Thanks!
0
votes
1answer
958 views

Not able to access folder due to wrong CHMOD commands

I was not able to view my custom vhost www.ajweb.dev in my apache2. My www folder resided in /home/ajinkya/www So I did following. ajinkya@ajinkya-Inspiron-3521:~$ cd www ...