Questions tagged [www]
World Wide Web, aka. W3, or simply web - a system of interlinked hypertext documents accessed via the Internet
44
questions
0
votes
0
answers
752
views
How to allow an FTP user to manage /var/www/site1 which is owned by www-data user
I have a site called site1 located in /var/www/site1, and it is owned by www-data user. The group permission is belong www-data group.
The web server is Apache2. The FTP server is ProFTPD.
As we allow ...
1
vote
1
answer
232
views
How can I get the browser to prompt for duplicate file downloads?
Is there any way to get a prompt before downloading a duplicate file in a browser? I sometimes don't remember what I've got and get 2 or more copies of the same file. It would be nice to have a prompt ...
1
vote
0
answers
2k
views
Move Apache's /var/www/html to another mount-point/disk?
I've got a vm set up with Apache and mysql and it works so far:
but it only has 16gb, just for Ubuntu, Apache and Mysql. But I've also got a data disk:
I've done the steps to change the document-...
0
votes
2
answers
4k
views
Adding an user to www-data group not working
I am trying to add my user to the www-data group in order to be able to edit the files there without admin rights. This is the command I have used to do that:
$ sudo usermod -aG www-data n_user
$ ...
0
votes
1
answer
113
views
Making Webpage accessible to my ftp
What is the best way to make my /var/www/ folder accessible to my ftp in setting up a web page? Making it so I can edit and upload?
In the future I will go to virtual host but that is a long way away....
1
vote
0
answers
42
views
Wordpress permissions conflict with www-data and ftp [duplicate]
Running: Ubuntu 18.04, Nginx 1.14
I read somewhere that running Wordpress in 'fs_direct' mode is a security threat, so I wanted to completely scrap that idea and stick to a local ftp server instead.
...
1
vote
1
answer
425
views
How to create a WWW website using Apache
I tried asking this before but although I took all of the advised steps, nothing happened. Basically, I want to create a website like www.example.com. I can open HTML files in my browser using the ...
0
votes
1
answer
466
views
On Ubuntu Server 18.04, can't get my domain to resolve unless www is used
I can't get pangeawerks.com to resolve but www.pangeawerks.com works great
I pinged the domain and here are the results:
karmacomposer@PANGEAVERSE:~$ ping pangeawerks.com
ping: pangeawerks.com: ...
0
votes
1
answer
8k
views
Change directory of Ubuntu www web server? [duplicate]
I'm wondering if I can change the root directory of an Ubuntu web server from:
/var/www/html
to:
/home/Janderson/magento
How would I do this? I want to access Magento when I go to localhost in my ...
2
votes
1
answer
7k
views
XAMPP: cannot find /var/www/html
I downloaded the latest XAMPP deb file and installed it.
But apparently, there is no /var/www folder.
Can anyone tell me the default location of the Apache's DocumentRoot directory within XAMPP ...
1
vote
0
answers
68
views
Why does .local only work in online mode firefox
When I open john.local page in firefox, when Wifi is on, it works perfectly.
But when I turn off Wifi the page doesn't work anymore, plus firefox adds www before john.local, like this:
www.john....
0
votes
1
answer
340
views
Apache on Ubuntu blocking all XSS attempts [closed]
I have a DigitalOcean droplet that I am trying to build an intentionally vulnerable lab on for my school's information security program. The problem is that Apache is blocking all sorts of malicious ...
6
votes
2
answers
30k
views
Can't create folder or document in <var/www/html> [closed]
how to enable to create New document or new folder in var/www/html ? "my Ubuntu is 16.04"
1
vote
1
answer
2k
views
Connection abort when trying to log in to chroot jailed account via sftp
I'm trying to make a user kake_sftp that can log in to the web server located at /var/www/html or similar. I know chroot needs some additional subdirectiories for the permissions to work out, so I'm ...
0
votes
1
answer
47
views
ServerName issue, either www or http, can't have both.. Why?
So everything is set up right at my dnsprovider. I have both my subdomain and my main domain directed to my ip. However I can't seem to get my subdomain to work with both with and without www.
If in ...
1
vote
2
answers
2k
views
Removing the need to sudo with a password
Disclaimer: I know this question has been asked a lot, i've read a bunch of ways and tried a bunch of ways, but i'm still running into issues, please feel free to refer me to a dupe question if you ...
0
votes
1
answer
167
views
Setting up Web Root for LAMP and never worry about it again
I made a fresh install of Ubuntu in my laptop. I just installed the LAMP stack and phpmyadmin.
I tested them with http://localhost and http://localhost/phpmyadmin and they're working fine.
Now I've ...
0
votes
1
answer
918
views
Apache2 read home folder directory when main domain is in /var/www
I am setting a lab for students to create webpages this is the setup I currently have:
I am a little new to setting up a web server, so please bear with me :-)
OS - Ubuntu 14.04, Apache main domain ...
0
votes
1
answer
6k
views
Apache2 403 Forbidden - you don't have permission to access
I've added one virtual host to sites-available. It was showing Index Of... a while ago, then I installed mysql, don't know if it's the reason but after that there was 404, then I changed Directoryto /...
15
votes
2
answers
17k
views
Cannot edit group-owned files as user belonging to that group
I'm running an Ubuntu 14.04.1 LTS server on Digital Ocean. I'm trying to make it so I can edit files in /srv/www from my normal user account, without needing to be root.
Currently, /srv/www is owned ...
24
votes
0
answers
164k
views
Using Terminal as a web browser [duplicate]
I've found that terminal can be used for various purposes. This will be great if I can use it as a web browser. Is there any way to use it as a web browser??
0
votes
2
answers
74
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
1
answer
877
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 ...
50
votes
6
answers
282k
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 ...
1
vote
1
answer
51
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.
1
vote
2
answers
15k
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
2
answers
767
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
1
answer
2k
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
3
answers
9k
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 ...
9
votes
3
answers
7k
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
2
answers
211
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 /usr/...
2
votes
1
answer
4k
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
2
answers
7k
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 ...
3
votes
2
answers
806
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 ...
4
votes
4
answers
10k
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 ...
1
vote
1
answer
1k
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
0
answers
585
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 folder in ...
3
votes
2
answers
335
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 ...
5
votes
1
answer
7k
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).
...
14
votes
3
answers
91k
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 ...
5
votes
1
answer
12k
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
3
answers
1k
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. Now I ...
11
votes
1
answer
45k
views
Easy way to change apache www location
Instead of changing 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 /...
80
votes
2
answers
67k
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 ...