LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-23-2005, 07:50 AM   #1
pylon42
LQ Newbie
 
Registered: Mar 2005
Posts: 6

Rep: Reputation: 0
DOCUMENT_ROOT problem


Okay, i've been getting a lot of help with this problem from a lot of different people - and it comes down to one thing now, so I thought I'd just start over with a simplified version.

$_DOCUMENT_ROOT is set to /home/username/web/

$_DOCUMENT_ROOT returns null.

I have two (nearly) identical servers going. It returns properly on one, and not the other.

Can someone offer a suggestion? Also - is it acceptable to have a "/" at the end of the path as shown above? Cause that's the only difference I can see when I run phpinfo.

thank you.
 
Old 03-23-2005, 07:59 AM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
See your other thread. Did you do the following or anything similar:
$DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT'];
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration