0
votes
0answers
11 views

What packages could limit network speeds?

So the other day I made a question about limited apache speeds. I came to realize that it can't just be for apache if it limits my virtual machines too, which includes IIS7 on windows. So something ...
1
vote
2answers
1k 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 ...
1
vote
1answer
400 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 ...
1
vote
2answers
1k 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 ...
1
vote
2answers
226 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 ...
2
votes
4answers
818 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
384 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 ...
0
votes
0answers
82 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
2answers
914 views

Can't use symlinks in local /var/www directory

I'm setting up my local LAMP server, and when I go to it, I can't follow symlinks with the Apache user (www-data). At this point, I've tried chowning and chmoding and I've added Options ...
3
votes
1answer
231 views

How to forward ports on the same Ubuntu machine? I want my webserver be available on 80 and 8880 port

How do I forward ports on the same Ubuntu machine? I want my webserver be available on 80 and 8880 port. Or maybe I could making my apache listening not only on 80 port, but also on 8880? Is that ...
5
votes
1answer
2k 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 ...
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 ...