The document root directory under which the current script is executing, as defined in the server's configuration file.

learn more… | top users | synonyms

2
votes
0answers
91 views

Zend Server resets to defaults on Zend Studio 10 startup

I' m running Zend Server 6.0.1 and Zend Studio 10 on Mac OS X Mountain Lion. Because Zend Servers Apache listens to port 10088 by default on Mac OS, I changed that in Apache configuration file to port ...
1
vote
0answers
27 views

Form Submit + PHP Server Variables Changes Page Absolute Urls - htmlspecialchars($_SERVER['REQUEST_URI'])

I have a PHP config file which defined server environment vars to be use throughout the site. I'm a little perplex on why my config settings aren't working after a form submission using ...
1
vote
0answers
20 views

Python PDFMiner error: “No /Root object! - Is this really a PDF?”

I am getting this error "No /Root object! - Is this really a PDF?" using my MAC computer with Python 2.7 and PDFMiner version 20110515. The pdf files are not damaged because the same program with the ...
1
vote
0answers
106 views

(shared host solution)protect subdirectory in document root except one folder within it (htaccess)

I need to install "Laravel" in the "Public_html folder" because I am on a shared host. The Laravel documentation gives a solution <IfModule mod_rewrite.c> RewriteEngine on RewriteCond ...
1
vote
0answers
463 views

Include a php file on a server with open_basedir restriction in effect

i am building a website on 000webhost.com trying to include a php file using <?php include ($_SERVER['DOCUMENT_ROOT']."/main/meta.php") ?> but the server says Warning: include() ...
1
vote
0answers
75 views

Finding JAXB generated class for root element

I am new to using JAXB. I need to generate an xml file from its schema, where the schema and element values are input from the user. My problem is, if I don't know the name of the elements beforehand, ...
1
vote
0answers
63 views

Does each apache process load all DocumentRoot's for all virtual hosts?

we are trying to diagnose a performance issue. We have an Apache2 server with many virtual hosts, each one running a CMS such as Drupal or Joomla. Each apache process seems to consume a large ...
0
votes
0answers
59 views

How to configure DocumentRoot to use with Laravel 4?

I have an apache local server (installed through BitNami) and I want to configure the DocumentRoot so that I can access to my Laravel app when I go to localhost instead of the BitNami default page. ...
0
votes
0answers
16 views

Trailing slash at the end of DOCUMENT_ROOT on Apache

I've got a framework I need to work with and the server configuration file for the live version (the working one) specifies the document root like this: define('DOCUMENT_ROOT', ...
0
votes
0answers
21 views

Putting a website and web apps in subdirectories of a document root

I have several projects on of which is a website and the other are web applications that will be available via the website: www.example.com www.example.com/impressum etc. for a website and ...
0
votes
0answers
64 views

IIS and relative URL difference between dev and production server

I have a web.api app that lives at http://localhost/Reporter on my local IIS8 server. The index page for this site has a couple links to other pages- a correct absolute url example would be ...
0
votes
0answers
84 views

ffmpeg convert file and save output file outside $_SERVER['DOCUMENT_ROOT']

I have a script that works perfect inside $_SERVER['DOCUMENT_ROOT'] $_SERVER['DOCUMENT_ROOT'] = '/home/user/public_html/site/' script I use absolute path ...
0
votes
0answers
146 views

Apache: change DocumentRoot when using Alias directive

After hours of unsuccessful web research I'm not sure this is even possible, but can I set a different DocumentRoot when setting an alias within an Apache VirtualHost ? Let me illustrate my need. I ...
0
votes
0answers
87 views

Multiple htaccess files and inheritance

I've got a bit of a complicated issue. Consider the following folder structure: /var/www/etc/ - "web" folder not inside document root /var/www/etc/.htaccess - routes all requests to ...
0
votes
0answers
285 views

how to change document root to public_html from root directory

For testing I hosted my website on free server from 000webhost.com They have a directory structure:- (root folder) \ (public folder) \public_html this directory structure enables to keep all the ...

1 2 3
15 30 50 per page