Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Hidding the URL via frames.
Old 07-26-2007, 02:10 PM Hidding the URL via frames.
Banned

Posts: 253
Name: Michel Samuel
Trades: 0
I'm having a hell of a time doing this.
Dreamweaver asks for files that don't exist.. gives me errors and then resets my html code to a blank document.

My site is set up like this.

index.php
that"s my first page and it can't change (obligatory it must stand alone)

But my premier page after that is called.
accub.html

From that page on I want to hide the url.

can someone give me a clue here ?
Greatly appreciated
Michel Samuel is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-26-2007, 02:59 PM Re: Hidding the URL via frames.
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Are you hosting the site on apache?
If so, you can add an expressions in a apache configuration file name .htaccess
http://httpd.apache.org/docs/1.3/mod/mod_dir.html
Code:
 DirectoryIndex accub.html index.html
If you have already a .htaccess, append this line to it.
It will indicate to apache that if a directory listing is asked for (which is the case if no file are specified), which file should be presented and in which order.

As long as the file will not be found in the current directory, it will try the to find the next file.
__________________
Only a biker knows why a dog sticks his head out the window.

Last edited by tripy; 07-26-2007 at 03:00 PM..
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 07-26-2007, 04:28 PM Re: Hidding the URL via frames.
Banned

Posts: 253
Name: Michel Samuel
Trades: 0
Quote:
Originally Posted by tripy View Post
Are you hosting the site on apache?
If so, you can add an expressions in a apache configuration file name .htaccess
http://httpd.apache.org/docs/1.3/mod/mod_dir.html
Code:
 DirectoryIndex accub.html index.html
If you have already a .htaccess, append this line to it.
It will indicate to apache that if a directory listing is asked for (which is the case if no file are specified), which file should be presented and in which order.

As long as the file will not be found in the current directory, it will try the to find the next file.

Forgive my stupidty.
yes it is on apache.
And yes I'm running a very large .htaccess file

But this line... It will hide the url of the files being listed ?

I've read the link you posted and it's going over my head.

Last edited by Michel Samuel; 07-26-2007 at 04:29 PM..
Michel Samuel is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Hidding the URL via frames.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
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.26054 seconds with 12 queries