Questions tagged [htdocs]

Questions about or relating to htdocs directory - "the web root".

htdocs is the directory where the web server software (Apache usually) looks for files to serve on your domain.

8 questions
6
votes
4 answers

How to access xampp htdocs folder in Ubuntu 18.04.2

I have installed xampp in ubuntu. But I can't find htdocs folder anywhere to put my php codes and test them.
Ashikur Rahman
  • 175
  • 1
  • 2
  • 7
2
votes
0 answers

restore deleted file from ubuntu

I mistakenly deleted a PHP file from vs code editor on ubuntu OS. Is there any way to get it back? My folder path is: /opt/lampp/htdocs/readJson File name is: readJson.php
Sabbir
  • 181
  • 1
  • 6
1
vote
1 answer

How to save projects file in htdocs

I am a php developer. I've been developing projects on a Windows system. Now I have completely switched to Ubuntu. I've installed XAMPP on my Ubuntu 16.04. I am not able to save my web files on htdocs as I used to save them in Windows before. My…
1
vote
3 answers

While chmod 'ing for htdocs. I found daemon user. Who is this?

I am new to ubuntu. Recently I tried to change user of htdocs according to many q&a 's available on askUbuntu. I followed these steps: qayyum@qayyum:~$ who am i qayyum pts/0 2014-10-01 15:29 (:0) qayyum@qayyum:~$ sudo chown -R qayyum:qayyum…
abdul qayyum
  • 263
  • 3
  • 15
1
vote
0 answers

How to make htdocs folder in opt/lampp writable?

I have installed xampp on Ubuntu 20.04LTS. And when I run the server and try to upload images into wordpress page, it is showing an error. Unable to create directory wp-content/uploads/2021/05. Is its parent directory writable by the server? I…
Rakesh Goud
  • 69
  • 1
  • 9
0
votes
2 answers

403 Forbidden Error after copy a project in htdocs

I successfully installed xampp-linux-x64-1.8.3-4 in my ubuntu 14.04. The XAMPP is installed in /opt/lampp. I get an 403 Forbidden Error message after I copied a HTML project in htdocs Folder. What I did and tried: I copied the project by gksudo…
BenS.
  • 3
  • 1
  • 3
0
votes
2 answers

Can I set a specific group|umask to be the default one for all actions within a certain path?

I would like to override the default umask and owner:group settings within certain directories only, without requiring root privileges, as that kind of defeats the purpose. For example, when I touch a file in /var/www/ it becomes 0755 and owned by…
Redsandro
  • 3,644
  • 6
  • 36
  • 46
0
votes
0 answers

How to enable web browser to open ~/Desktop/htdocs/index.html

My web browsers can't open ~/Desktop/htdocs/index.html (located on the desktop). I tried right clicking on .html that is outside the htdocs folder (I usually successfully use 'Open with' in my old system.) But this is a new system and one of the…
A.G.
  • 310
  • 2
  • 15