New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

How To Link To Folder On Web Site With No "index.html"


Post Reply New Thread Subscribe

 
Thread Tools
bgbevan@earthli

 
Member Since: Mar 07, 2009
Posts: 2
bgbevan@earthli is on a distinguished road

bgbevan@earthli is offline
I have a working web site running on my G-3 Mac using the Apache server. I am using Cox cable and the computer is behind a router. I had to use a different port than the default 80 because Cox blocks that port.

I would like to have a link to a folder that I could use for downloads. So there would be a text link on the home page titled "Downloads". When clicked, I want it to open with just the files in the folder. There's no index.html file in this folder. I have tried all kinds of different link techniques but can't make anything work.

This works if the initial home page doesn't have an index.html file. It just displays the files and directories in the browser window. I am not sure it's a browser issue, an Apache issue, or an ISP issue.

Bill Bevan
QUOTE Thanks
D3v1L80Y

 
D3v1L80Y's Avatar
 
Member Since: Feb 02, 2004
Location: PA
Posts: 12,459
D3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond reputeD3v1L80Y has a reputation beyond repute
Mac Specs: MacBook

D3v1L80Y is offline
Quote:
Originally Posted by bgbevan@earthli View Post

This works if the initial home page doesn't have an index.html file. It just displays the files and directories in the browser window.
...which is exactly what is supposed to happen.
It's how HTML works.

If you're not sourcing an index file, then it will just open a browser showing the files in the location you link to.

__________________________________________________
Posting and YOU|Forum Community Guidelines|The Apple Product Cycle|Forum Courtesy

mac: a waterproof raincoat made of rubberized fabric
MAC: a data communication protocol sub-layer, also known as the Media Access Control
Mac: a brand name which covers several lines of personal computers designed, developed, and marketed by Apple Inc.

QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
I think Bill means; how to create a link to a folder. Also he may be doing it but it isn't working.

This is an Apache issue. I think what you want is a forward slash at the end of your folder path such as; .../Downloads/

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks
bgbevan@earthli

 
Member Since: Mar 07, 2009
Posts: 2
bgbevan@earthli is on a distinguished road

bgbevan@earthli is offline
Yes, adding the slash "/" to the end of the URL solved the problem. In this case changing

"www.twobevans.com/DownloadCenter"

to

"www.twobevans.com/DownloadCenter/"

Download Center is a hyperlink on the home page to that directory. Visitors can use other hyperlinks at the site to view pictures, etc. and when I want to them to be able to download a large file, I can just place it in the directory "Download Center". When they click on the file in their browser window, the file downloads automatically. Better than email or having to fool around with FTP server/clients.

Thanks for the solution and my apologies for the slow response.
QUOTE Thanks

Post Reply New Thread Subscribe


« Can I make a customer order page in iWeb? | css question »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Moblie web sites shown NOT normal site. cceverett iPhone Hardware and Accessories 3 01-14-2009 11:53 PM
Just How Secure Are the 'Reset Safari' & 'Erase Free Space' Facility? scoot OS X - Operating System 3 05-30-2007 06:28 PM
Web site testing Adrian Web Design and Hosting 6 06-30-2004 03:02 PM
Apple launches new holiday iPod Web site Murlyn iPod Hardware and Accessories 1 11-14-2003 01:54 PM

All times are GMT -4. The time now is 07:34 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?