Questions tagged [htdocs]

htdocs is the default web server software (Apache) folder visible from Internet.

"htdocs" is abbreviated from "http documents". It is the default location for web-viewable content for web server software ( like Apache ). The web server will serve the data ( images, scripts of any kind, html files ) located in this folder.

136 questions
70
votes
20 answers

Where to find htdocs in XAMPP Mac

I cannot find the htdocs directory anywhere on XAMPP for Mac. Many videos on YouTube show people just clicking a button that says "Go to application folder" but on my user interface, it reads: "Go to application" which just opens the localhost page…
Angel Garcia
  • 1,547
  • 1
  • 16
  • 37
59
votes
3 answers

Difference between web server, application server and database server

I read somewhere that a web application consists of a web server, application server and a database server. What is the difference between these three ? I asked this question because I remember when I hosted a website, all I had was a https login…
OneMoreError
  • 7,518
  • 20
  • 73
  • 112
15
votes
9 answers

My http://localhost/ redirecting to www.localhost.com

I checked my httpd.conf file and nothing found anything, let me know other areas whr i need to look. Although my other links are working fine like -- http://localhost/phpmyadmin/ or http://localhost/myprojects/ This is what i have in my httpd.conf…
swapnesh
  • 26,318
  • 22
  • 94
  • 126
9
votes
4 answers

How to know the version of PHP is used on xampp?

How to know what version of PHP is used on my xampp?
AKM Nazmul Islam
  • 251
  • 1
  • 3
  • 7
7
votes
2 answers

How can I have yii protected folder outside htdocs by using Netbeans

I'm currently developing a PHP web application which uses Yii framework. As I want to prevent direct access from web browser to some files required by Yii, I moved both framework and protected folders outside htdocs folder. As a result, I ended up…
edilima
  • 73
  • 1
  • 5
5
votes
2 answers

Set the Apache htdocs/subfolder as GIT working dir

I have just started trying to learn Git and I have got a little stuck. We are using Github to hold our "stable" project but I am having trouble working with the repo. I want to know if its possible to use a local webservers htdocs/[projectname] as…
Ben Duffin
  • 1,066
  • 10
  • 16
5
votes
1 answer

How can I use SSH to push my repository to GitHub?

How can I push my repository to Github using SSH? Why I want to host my repository on GitHub during my PHP study. What I did I set remote url of kaede0902/php to htdocs/workspace, and tried to pull. I used sudo. Error…
KAEDE
  • 340
  • 3
  • 10
5
votes
5 answers

404 error for bootstrap.min.css and bootstrap.min.js

I'm building a website and trying to use Bootstrap, however I'm unable to successfully call bootstrap.min.css and bootstrap.min.js. I have Bootstrap unzipped in a new folder titled "Bootstrap" in my htdocs folder. In my Bootstrap folder I created a…
user5514149
5
votes
9 answers

How to run a PHP file on my computer that is outside the htdocs directory?

I just installed Apache and PHP on my computer to be able to run PHP files locally. I can run a PHP file if it is located in Apache2.2\htdocs directory. Is that possible to run PHP files outside this directory ? I'm looking to a simple solution,…
Misha Moroshko
  • 166,356
  • 226
  • 505
  • 746
5
votes
2 answers

Apache htdocs in folder with unicode name

I have my apache (for windows) htdocs in a folder like c:\anything1\怘怙怚怛\anything2. The problem is that in this case php won't execute any scripts from here and will display an error message like this: `Warning: Unknown: failed to open stream: No…
Zsolti
  • 1,571
  • 1
  • 11
  • 22
5
votes
2 answers

Can't access php files copied into /var/www/ or other folders

I'm on Ubuntu 12.10 with LAMP setup. I copied a subdirectory which has project files (php, html, css) from xampp/htdocs on my Windows PC into /var/www/ of my ubuntu. However, when I access those files from browser (I can see the directory listing),…
clouddreams
  • 622
  • 1
  • 4
  • 13
4
votes
2 answers

Moving Xampp's htdocs folder to external USB 2.0 hard disk

As I build many virtual webs on localhost and the data of htdocs folder is increasing everyday. I want to move the htdocs folder to external hard disk, is it possible to do that? I try editing httpd.conf file. But when I open localhost, it shows…
ronaldtgi
  • 687
  • 8
  • 17
4
votes
7 answers

Subversion for web development

I've read a lot of articles about Subversion and pushing the information to a web server, but I'm still having difficulties. I can understand the basics about creating the repository and checking out etc., but I need help for the web server…
Ben Robinson
4
votes
1 answer

How to limit access to http://localhost/xampp/

I installed xampp on a comupter (for example A) in a network, I set IP for apache so users in the network are able to access the localhost on the machine A. I installed a web project in htdocs directory so users can see that page using…
M a m a D
  • 1,938
  • 2
  • 30
  • 61
4
votes
2 answers

yii framework not working in mac

When creating a project in applications/xampp/htdocs using the yii framework in terminal, it's showing an error as permission denied. I can create projects in all other folders. Here is the terminal command I've written: % php yii/framework/yiic.php…
Deepzz
  • 4,573
  • 1
  • 28
  • 52
1
2 3
9 10