EditWrx Knowledge Base Home
 Search       Login   Register   Members   Help   Home 
Search by username

EditWrx Knowledge Base > FAQ (Frequently Asked Questions) > Installation Issues > Your server does not have a usable environment variable for determining your site's root path

Your server does not have a usable environment variable for determining your site's root path
 Moderated by: Keith  
 New Topic   Reply   Print 
AuthorPost
jmorin
Member
 

Joined: Tue Aug 19th, 2008
Location:  
Posts: 2
 Posted: Tue Aug 19th, 2008 11:07 pm
 Quote  Reply 
loooking for help with the following error. checked permissions those are correct.  i'm assuming i need to manually change some variables in wrx.cgi since this root path doesnt look to be correct. please advise. thanks.

 

Your server does not have a usable environment variable for determining your site's root path
/home/chicagos/public_html/editwrx/wrx.cgi/editwrx/library/routines.txt does not exist


DOCUMENT_ROOT=/usr/local/apache/htdocs
GATEWAY_INTERFACE=CGI/1.1
HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-silverlight, application/x-shockwave-flash, */*
HTTP_ACCEPT_ENCODING=gzip, deflate
HTTP_ACCEPT_LANGUAGE=en-us
HTTP_CONNECTION=Keep-Alive
HTTP_COOKIE=logintheme=; cprelogin=no; cpsession=chicagosIgzgoPdc14XT6hfYyDf6_d9jyQRHUtHdIdAGbfKECAP6EmMnvTTiZuUlrWIINZ66; langedit=; lang=
HTTP_HOST=69.93.8.194
HTTP_UA_CPU=x86
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; InfoPath.2)
PATH=/usr/local/bin:/usr/bin:/bin
QUERY_STRING=
REMOTE_ADDR=69.55.78.34
REMOTE_PORT=1438
REQUEST_METHOD=GET
REQUEST_URI=/~chicagos/editwrx/wrx.cgi
SCRIPT_FILENAME=/home/chicagos/public_html/editwrx/wrx.cgi
SCRIPT_NAME=/~chicagos/editwrx/wrx.cgi
SERVER_ADDR=69.93.8.194
SERVER_ADMIN=root@localhost.localdomain
SERVER_NAME=hummer.websitewelcome.com
SERVER_PORT=80
SERVER_PROTOCOL=HTTP/1.1
SERVER_SOFTWARE=Apache/1.3.39 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.30 OpenSSL/0.9.7a PHP-CGI/0.1b

Keith
Moderator
 

Joined: Fri Apr 8th, 2005
Location:  
Posts: 603
 Posted: Wed Aug 20th, 2008 02:02 am
 Quote  Reply 
The problem is that you are trying to edit

http://hummer.websitewelcome.com/~chicagos/

instead of the website

http://chicagosearchgroup.com/

For security reasons EditWrx can not be run in a tilda (~) domain. It must be installed and RUN from the real domain. 

The chicagosearchgroup.com is currently on another server at 208.109.181.20. If you want to access chicagosearchgroup.com on the 69.93.8.194 server before changing the DNS pointers to 69.93.8.194 you can do that.


On your Windows desktop open C:Windowssystem32driversetchosts with NotePad. The file does not have an extension, the file's name is simply "hosts". On a line by itself add

69.93.8.194 chicagosearchgroup.com

Save the file. Close Explorer and reopen it. Everytime a browser opens it reads the "hosts" file. That is true for all browsers and "hosts" exists on all operating systems. The puropse of "hosts" is that if the domain is found in "hosts" the browser will not resolve the IP for the domain through the World Wide Domain Name Servers. It already has the IP and it will go to that IP to find the domain.

You can turn off the line in "hosts" simply by putting a # in front of the line and restarting the browser.

I did the above to my "hosts" file for 69.93.8.194 chicagosearchgroup.com, logged into chicagosearchgroup.com.editwrx/wrx.cgi and edited the chicagosearchgroup.com/sample_pages/full_page_editing.html page with no problems. When accessing the domain instead of the ~ the server gives the correct Environment variables for EditWrx to use.

 

jmorin
Member
 

Joined: Tue Aug 19th, 2008
Location:  
Posts: 2
 Posted: Wed Aug 20th, 2008 05:46 am
 Quote  Reply 
great and thanks will try!


 Current time is 11:53 pm




Powered by WowBB 1.62 - Copyright © 2003-2004 Aycan Gulez