|
By someone's advice I've put all my PHP files in a separate folder (inc) on the same level as htdocs. Only index.php is left in htdocs. So, it's like this:
C:\myproject\htdocs
- index.php
C:\myproject\inc
- login.php
- util.php
- register.php
...
Now,...
Started by z-boss on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The htdocs folder, you should be using the 'inc' folder for files like 'database_functions.inc' which include directory, because the web server will not allow access to a directory outside the htdocs - goes in htdocs....
|
|
Where is the folder that contains the index.htm(l) that contains "it's working", located in Ubuntu?
Started by Theundecided on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
/etc/apache2/sites-available will tell tell you what sites are....
If however, you're refering to the DocumentRoot, the default location is /var/www .
According to http://packages.ubuntu.com , the documentation for apache is in /usr/share/doc/apache2-doc/ .
|
|
Hello,
I am working on linux server through ssh and want to know where to put html and php files (the htdocs folder) but its seems to me the servers is running lighttpd
My directory structure looks something like this.
Started by Shishant on
, 6 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
If it's not there, you should try to find the configuration file for Lighttpd be lighttpd's configuration ... .
Popular locations for the htdocs folder are /var/www or somewhere, for the HTTP root folder.
Etc/lighttpd/lighttpd.conf).
|
Ask your Facebook Friends
|
Is it possible to configure xampp to serve up a file outside of the htdocs directory?
For instance, say I have a file:
C:\projects\transitCalculator\trunk\TransitCalculator.php
and my xampp files are normally served out of:
C:\xampp\htdocs\
(because that...
Started by cmcculloh on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
EDIT:
alias myapp c:\myapp\
I've edited my a shortcut in windows or a symlink under un*x where Apache 'pretends' a folder is in the webroot the DocumentRoot setting in XAMPP....
Will allow you to set any folder so it appears in your webroot.
|
|
Trying to version control my project that's sitting in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs using TortoiseSVN. I can't commit it though because Tortoise doesn't have permission to create the .svn file in that folder (anywhere in...
Started by Mark on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
After that, you (the logged....
The "security" tab shows you which user has full access - add yourself to that list .
Set the permissions on that folder accordingly: right-click on folder, chose "properties".
Run Tortoise as Administrator mode.
|
|
Hello,
when I try to create a repo inside htdocs folder of my Apache installation (using Zend Server CE) git gives me the error:
$ git init error: unable to create directory for e:/WORK/Zend/Apache2/htdocs/gittest2/.git/HEAD
It works well outside htdocs...
Started by yogal on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Enable both read and write.
Double-check the permissions on the folders htdocs/ and gittest2/.
|
|
I searched the forum and couldnt find an answer, although some have asked the question before.
My hosting provider does provide ssl and i have installed a certificate & key succesfully. But here is the thing.
The provider uses a seperate folder on the...
Started by uddhava on
, 5 posts
by 2 people.
Answer Snippets (Read the full thread at prestashop):
Address
- Certificates and private keys
- Symbolic linked private_html folder
With a fixed IP address.
|
|
Downloaded xampp. Http://localhost/xampp working fine. Unable to load my file named demo.php which i had saved in xampp/htdocs/igif (directory). When i tried to run through ie by calling http://localhost/xampp/htdocs/igif/demo.php it shows error
Object...
Started by binny on
, 4 posts
by 2 people.
Answer Snippets (Read the full thread at apachefriends):
Http://www.apachefriends.org/en/xampp-windows.html
http://www.apachefriends.org.
htdocs = localhost
Try
http in the xampp folder.
|
|
I'm using MAMP just for my development environment and haven't really understood the folder structure of /var/www/project-name/ on a web server. I'm wondering whether you're meant to point the web server to the htdocs folder or it's supposed to point ...
Started by Kezzer on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
You can then have logs....
On a linux box running apache without virtual hosts, /var/www is a common place to use for your htdocs.
In a directory under /var/www , and each of these have a htdocs folder, which is mounted as the web root.
|
|
On Fri, 24 Apr 2009 11:44:17 -0700 (PDT), Fluffy Convict <dennis.sprengers@gmail.com
I have installed apache on my c-partition, hence the htdocs are stored
in c:\program files\apache\htdocs. However, I keep all my data on my d-
partition and would...
Started by Fluffy Convict on
, 3 posts
by 2 people.
Answer Snippets (Read the full thread at omgili):
On Sat, 25 Apr 2009 01:49:19 +0200, Luuk <luuk@invalid.lan
Fluffy Convict schreef:
http://httpd.apache.org/docs/2.2/mod/core.html#documentroot
--
Luuk On Sun, 26 Apr 2009 05:22:10 -0700 (PDT), Fluffy Convict <dennis.sprengers@gmail.com
... .
|