World Wide Web, aka. W3, or simply web - a system of interlinked hypertext documents accessed via the Internet

learn more… | top users | synonyms

-1
votes
1answer
28 views

point apache2 to my own index.html folder?

Apche, apche apche....i have been trying to find an answer to this question for some time: So in apache2 iam trying to get a folder that already has index files,video, picures (completely already ...
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 ...
0
votes
0answers
20 views

How to restrict the websites for the hotspot users in ubuntu?

I have created a wifi hotspot in my ubuntu laptop following this instructions for my brother to use in his android. For some obvious reason I want to restrict the websites he visit. Now how do I ...
0
votes
0answers
7 views

Error while running a TOPCONS script

After installing TOPCONS successfully, when I try to run the script, it gives me an error: Directory /home/robber/bin/../var/www/topcons.cbr.su.se/docroot/topcons/ does not exist However, the ...
-1
votes
1answer
28 views

Need an advice about permissions of /var/www folder [closed]

As you already know while web development each time to access/edit or to do anything else in /var/www directory, we must either grant root permissions or change permissions of directory for all usersI ...
0
votes
0answers
29 views

Confusion regarding web owner in /var/www and local copy of project /home/user/project

I have installed the Symfony2 framework. I cloned my (git) repository in /var/www as well as locally in /home/username/myproject. In there (myproject) is where I make and test changes and commit to ...
0
votes
0answers
148 views

Apache 403 Forbidden when following a symlink

I currently have a dual boot between Windows and Ubuntu 12.04, using a separate partition to be able to access the same files between the two. So, currently my files are under /media/Files My ...
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 ...
3
votes
3answers
11k views

Grant a user permissions on www-data owned /var/www

I have a simple web server setup for some websites, with a layout something like: site1: /var/www/site1/public_html/ site2: /var/www/site2/public_html/ I have previously used the root user to ...
0
votes
0answers
58 views

How to change apache2 root to media directory

I have edited the /etc/apache2/sites-available/default as. <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /media/username/01CEC9E69E985ED0/xampp/htdocs ...
1
vote
0answers
48 views

Allow www-data to execute a particular command

How shoud I do to allow the user www-data to execute a command like at or cronjob?
-1
votes
1answer
207 views

local host scripting problem

I have this html page on my pc <html> <body> <form action="http://localhost/welcome.php" method="post"> Name: <input type="text" name="fname"> Age: <input type="text" ...
1
vote
1answer
28 views

Where can I browse the package database using a web-browser

I'm looking for the Ubuntu equivalent of http://debian.org/distrib/packages.
0
votes
2answers
281 views

Not able to save files

I had installed apache,php just now and for checking whether php executes i had opened /var/ww and edited index.html file , but i was unable to save the file. It says i do have the proper permissions ...
0
votes
2answers
346 views

ubuntu after copy files owner changes

When I copy my files from development to production /var/www the owner and permission of the files copied changed. What are the perimission/owner of the files in /var/www so that it is not a security ...
1
vote
1answer
346 views

How to move www directory to home?

I've recently installed Lamp in my fresh 12.04 installation. I want to know if I can move my www directory to home so I can syncronize it with Ubuntu One, or is there any way to syncronize www ...
1
vote
3answers
4k views

Apache 'You don't have permission to access / on this server'

I just install apache2 on ubuntu,the default www directory is /var/www/ ,I use ln to link it to '/media/Software/Program Files/wamp/www/' at the windows directory,but the apache shows 'You don't have ...
6
votes
3answers
2k views

'/'var/www/' vs '/home/$USER/public_html'

I recently started using Ubuntu as a LAMP server. I've come across plenty of tutorials that say to place the files at '/var/www/' and I've also seen others that put them in '/home/$USER/public_html/'. ...
0
votes
2answers
86 views

Wordpress does not create directories?

First I will just tell you how my wordpress hierarchy looks like: /var/www has all of the wordpress files, which is different from how it is normally set up as /var/www/wordpress (symlinked to ...
1
vote
1answer
832 views

How to encrypt php folder under /var/www?

I need to encrypt the folder /var/www/test. The folder contains PHP files. The goal it to prevent any user to read the php content AND if the HD is mounted on another computer, the /var/www/test ...
2
votes
2answers
3k views

chmod u+s in /var/www

i have a problem at granting the right rights for the right user... i want to run pootle with apache, so i downloaded pootle. Then i copied it to /var/www, installed it and gave the www-data user ...
2
votes
2answers
447 views

What are the benefits of having www in the home folder than in the default /var/www folder

I am trying to explain some students what are the differences between having www on the home folder, for example /home/cyrex/www and in the /var/www. So I wanted to ask here what are the benefits of ...
3
votes
4answers
5k 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
1answer
603 views

After 12.04 Upgrade - /var/www is missing

I just upgraded from ~10.10 (it was stuck, un-upgradeable) to 12.04 by installing over the top of the existing installation. The home folder and desktop files all seem to still be present, as ...
4
votes
0answers
564 views

How can I rename a folder using the terminal? [duplicate]

Possible Duplicate: Whats the simplest way to edit and add files to “/var/www”? I need to rename it in the terminal because it is in the root directory in Lubuntu. I have a ...
3
votes
2answers
244 views

Setting up my www directory correctly

I'm quite new to Ubuntu and Linux in general. I need to create a my www directory (in /home) and set the permissions/ownership correctly so that any new files and directories created by myself (via ...
4
votes
1answer
6k views

What is the default permission for /var/www?

After upgrading to 12.04, I had to reinstall the LAMP stack. Then I brought all my www project folders from a pen drive to the /var/www folder (using sudo nautilus, and dragging the files in there). ...
6
votes
1answer
11k views

Granting a sftp user access to a /var/www directory

I've created a user and made his home directory /var/www/mysite/ftpdir I've also added a Match user entry for this user in sshd_config with a ChrootDirectory that points to /var/www/mysite I've ...
2
votes
2answers
1k views

Be able to create edit and move files to and from /var/www [duplicate]

Possible Duplicate: What is the best way to add files to a website on a LAMP Server? I have installed lamp on Ubuntu 12.04. I try to access /var/www but it doesn't allow me to do anything ...
0
votes
0answers
83 views

Does installing Apache overwrite ALL (including mounts) www folders? [duplicate]

I have a old hard drive (with Ubuntu 32b) that was running my website. The site was located in /var/www/vhosts/debug.onlinelabtests.com I removed the hard drive, and dropped in a new one. Install ...
4
votes
1answer
6k views

Correct steps for adding user to /var/www

I am used to adding sites in /home/USR/public_html. But now I have decided to put sites into /var/www/site1, /var/www/site2, and so on. Root owns /var/www/, but you want your user to be able to work ...
0
votes
0answers
61 views

Rights to give to Wordpress files [duplicate]

Possible Duplicate: What is the best way to add files to a website on a LAMP Server? I tried to set up a local Wordpress website, accessible only from the localhost. I cannot edit anything. ...
0
votes
3answers
519 views

How to recover data from /var/www? [duplicate]

Possible Duplicate: How to recover deleted files? I created directory inside /var/www/demo, and placed some files there. By mistake I pressed the delete button, and my files were deleted. ...
18
votes
7answers
9k views

What is the best way to add files to a website on a LAMP Server?

I have just installed Ubuntu Server 10.04 with a LAMP setup. I want to host a website there but I'm not sure which is the best way to get/edit my files on the server. Googling provides many options ...
5
votes
1answer
8k views

Easy way to change apache www location

instead of chaning permissions to /var/www, installing nautilus permission related extensions or having to execute gksu i want to know an easy to do way of changing /var/www to another place like ...
35
votes
2answers
14k views

Why shouldn't /var/www have chmod 777

When developing a page on a localhost, 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 ...