Reply
How is this possible?
Old 03-08-2007, 01:18 AM How is this possible?
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
I'm writing an article on "high dynamic range" photography, and how to pull this off using Photoshop, not having to buy more software. I'm writing the html on my local machine, but uploaded a copy two days ago. ( My last two computers died suddenly, so I like having backups. )

In my logs today, there have been 42 page views on this new HDR page I'm putting up. But I haven't linked to it, anywhere; I haven't given out the URL in an email. And I've only hit the page twice: uploading, and making sure that worked.

So it should be invisible to the world, right?
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
When You Register, These Ads Go Away!
Old 03-08-2007, 01:54 AM Re: How is this possible?
vangogh's Avatar
Post Impressionist

Posts: 8,831
Name: Steven Bradley
Location: Boulder, Colorado
Technically I don't think it's invisible, just harder to find. I think a robot could crawl through your directories and find anything that's in there. The major search engines shouldn't do that, but there are plenty of bots out there looking to do no good.

Can you tell who visited the page at all? Any clues or do you just know that the page was viewed?

Ok I just found your page and a link to it. I'll PM you the details.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 03-08-2007, 02:23 AM Re: How is this possible?
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
I'm an idiot for not thinking of directory listings. I haven't grabbed the raw access logs yet, have been working on my FTP software, and figure out how I'm going to get into the gzip files on a Windows box. But I'm really curious what's in them.

I guess this brings up a question. When someone hits my domain name, it serves up default.html without redirecting to it. Is it possible to do this with other directories, so instead of getting a listing, I can write up a TOC page, or redirect to the one that makes sense? I know how to do this in IIS, but I'm on a linux server with bluehost.
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 03-09-2007, 08:34 PM Re: How is this possible?
chrishirst's Avatar
Super Moderator

Posts: 13,669
Location: Blackpool. UK
does your host support php ?

If (so add a index.php file to the folder and use) then
PHP Code:
<?php
header
('HTTP/1.1 301 Moved Permanently');
header(Location: /path/page_to_display.ext);
exit;
?>
else if (you don't care about the folder appearing in the SE index) then
PHP Code:
<?php
include("/path/page_to_display.ext");
?>
else if (No PHP but SSI) then

add a index.shtm(l) to the folder with
HTML Code:
<!--#include virtual="/path/page_to_display.ext" -->
end if

(a select case would have been a better construct though )

You may need to add a line to .htaccess of
Code:
DirectoryIndex index.php index.shtm index.shtml
and if SSI isn't enabled use these lines to set it on.

Code:
AddType text/html .html .shtm .shtml
AddHandler server-parsed .html .shtm .shtml
you can also turn OFF the directory listings with

Code:
<Directory /path/folder/>
Options -Indexes
</Directory>
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-10-2007, 09:25 AM Re: How is this possible?
Skilled Talker

Latest Blog Post:
Free PDF Converters
Posts: 76
Wow, good info. Thanks chris
solidghost is offline
Reply With Quote
View Public Profile
 
Old 03-10-2007, 06:36 PM Re: How is this possible?
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,024
Name: Forrest Croce
Location: Seattle, WA
Quote:
Originally Posted by chrishirst View Post
You may need to add a line to .htaccess of
Code:
DirectoryIndex index.php index.shtm index.shtml
This seems like the easiest of all solutions. My host supports php, but could I put index.html in there and use static pages?
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 03-11-2007, 04:43 AM Re: How is this possible?
chrishirst's Avatar
Super Moderator

Posts: 13,669
Location: Blackpool. UK
Yep ...

although it will be in the Index page list already. Just put it into the folder

Put an index file in any folder and it will prevent the file list from being shown. and setting Options -Indexes will send a 403 response (Forbidden)
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to How is this possible?
 

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.15524 seconds with 12 queries