hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : URL Anomalies
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

URL Anomalies

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-20-2002, 04:14 AM
Bee Bee is offline
Junior Guru Wannabe
 
Join Date: Jan 2002
Location: San Jose, CA
Posts: 54

URL Anomalies


I'm about to point my domain to my newly setup server. Before I do so, I'd like make sure the following anomalies will clear up after the change over:

DON'T WORK...
http://xxx.xxx.xxx.xxx/
http://xxx.xxx.xxx.xxx/subdir

DO WORK...
http://xxx.xxx.xxx.xxx/index.html
http://xxx.xxx.xxx.xxx/subdir/

Are the above normal while using IP address to call up the main site? I hope I won't have to use http://www.myname.com/index.html to call up the main site after I point the domain name to my new server.

Reply With Quote


Sponsored Links
  #2  
Old 02-20-2002, 04:22 AM
freakysid freakysid is offline
Web Hosting Master
 
Join Date: Dec 2000
Posts: 945
No that's not normal or desired. Dang-a-lang - I should know the answer to this off the top of my head - lucky I am not a web host - but basically, there is something you will need to fiddle with in your httpd.conf (assuming you are using apache) to achieve the desired result.

Reply With Quote
  #3  
Old 02-20-2002, 07:11 AM
priyadi priyadi is offline
Registered User
 
Join Date: Apr 2001
Location: Depok, Indonesia
Posts: 986
The first one must be problem with DirectoryIndex. Make sure you have something like 'DirectoryIndex index.html' in your httpd.conf.

I don't know about the second one, what's the error message? Is there anything in log files? Does it work on other directory?

Reply With Quote
Sponsored Links
  #4  
Old 02-20-2002, 05:24 PM
Bee Bee is offline
Junior Guru Wannabe
 
Join Date: Jan 2002
Location: San Jose, CA
Posts: 54
I found it in httpd.conf...

DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.php4 index.pl

So looks like my settings are correct. Maybe it just won't work with IP address. I hope it will work after I point my domain.

Reply With Quote
  #5  
Old 02-21-2002, 02:07 AM
iamdave iamdave is offline
Web Hosting Master
 
Join Date: Nov 2001
Location: California
Posts: 1,991
It should work with just the IP....if i type Ip.ip.ip.ip/ it will show the index.html...

Reply With Quote
  #6  
Old 02-21-2002, 02:28 AM
Bee Bee is offline
Junior Guru Wannabe
 
Join Date: Jan 2002
Location: San Jose, CA
Posts: 54
Could it be the way I uploaded the files for my main site? The files are at /var/www/html/ (Ensim). Should I create a name-based account for my main site instead?

Reply With Quote
  #7  
Old 02-21-2002, 06:32 AM
priyadi priyadi is offline
Registered User
 
Join Date: Apr 2001
Location: Depok, Indonesia
Posts: 986
That's strange. Are you sure you are using the correct httpd.conf? Are there .htaccess files lying around with related directives?

Reply With Quote
  #8  
Old 02-21-2002, 04:02 PM
Bee Bee is offline
Junior Guru Wannabe
 
Join Date: Jan 2002
Location: San Jose, CA
Posts: 54
When I type in xxx.xxx.xxx.xxx at the browser, it brings up the Webppliance (Ensim) login page.

When I type in xxx.xxx.xxx.xxx/index.html, it brings up my main site.

Should I have NOT uploaded my main site to /var/www/html? Should I create a name-based account for my main site instead?

The only line in .htaccess is Options +ExecCGI

Reply With Quote
  #9  
Old 02-22-2002, 01:56 AM
priyadi priyadi is offline
Registered User
 
Join Date: Apr 2001
Location: Depok, Indonesia
Posts: 986
It looks like ensim stores its administration CGIs in /var/www/html. I'm not familiar with ensim, but if that's the case the answer to your question is yes, you should not store your files in /var/www/html.

Reply With Quote
  #10  
Old 02-22-2002, 02:12 AM
Bee Bee is offline
Junior Guru Wannabe
 
Join Date: Jan 2002
Location: San Jose, CA
Posts: 54
Thanks for all your help.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Modius OpenData Enterprise Integrates with Intel Data Center Manager Web Hosting News 2011-07-29 20:32:12


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?