image
image

Go Back   macosx.com > Design, Media, Programming & Scripting > Design & Media

Reply
 
Thread Tools
  #1  
Old January 28th, 2006, 11:28 AM
Registered User
 
Join Date: Jun 2005
Location: London, UK.
Posts: 278
Thanks: 0
Thanked 0 Times in 0 Posts
boyfarrell is on a distinguished road
Simple question about websites!

Hello everybody,

How do I make the music directory on my site boyfarrell.com/audio load the html file boyfarrell.com/audio/audio.html when somebody goes straight to that directory.

At the moment it returns a 404.

Dan.
Reply With Quote
  #2  
Old January 28th, 2006, 11:34 AM
bobw's Avatar
The Late: SuperMacMod
 
Join Date: Mar 2001
Location: Phila,PA
Posts: 8,835
Thanks: 0
Thanked 5 Times in 1 Post
bobw has a spectacular aura aboutbobw has a spectacular aura about
http://www.boyfarrell.com/audio/rain.mp3

works for me
__________________

Reply With Quote
  #3  
Old January 28th, 2006, 12:30 PM
Registered User
 
Join Date: Jun 2005
Location: London, UK.
Posts: 278
Thanks: 0
Thanked 0 Times in 0 Posts
boyfarrell is on a distinguished road
Did you type in:

www.boyfarrell.com/audio

I get an error 403 (not 404 as said before).

I would like by just typing the directory for the browser to access the html file in this folder; audio.html.
Reply With Quote
  #4  
Old January 28th, 2006, 12:38 PM
bobw's Avatar
The Late: SuperMacMod
 
Join Date: Mar 2001
Location: Phila,PA
Posts: 8,835
Thanks: 0
Thanked 5 Times in 1 Post
bobw has a spectacular aura aboutbobw has a spectacular aura about
I get the error for this URL;
www.boyfarrell.com/audio

try this, it opens your Audio page
http://www.boyfarrell.com/files/category-2.html
__________________

Reply With Quote
  #5  
Old January 28th, 2006, 12:43 PM
Registered User
 
Join Date: Jun 2005
Location: London, UK.
Posts: 278
Thanks: 0
Thanked 0 Times in 0 Posts
boyfarrell is on a distinguished road
When this it typed into a browser:

www.boyfarrell.com/audio

How do I get it to open my audio section page at:

www.boyfarrell.com/audio/audio.html

?

Any ideas?
Reply With Quote
  #6  
Old January 28th, 2006, 12:53 PM
bobw's Avatar
The Late: SuperMacMod
 
Join Date: Mar 2001
Location: Phila,PA
Posts: 8,835
Thanks: 0
Thanked 5 Times in 1 Post
bobw has a spectacular aura aboutbobw has a spectacular aura about
Right now, the Audio, Work, Articles and RSS Feed are in a directory named Files.
You would have to use another directory named 'Audio' put your Audio files in there, then use the name of the file for each page;

www.boyfarrell.com/audio/rain.mp3
__________________

Reply With Quote
  #7  
Old January 28th, 2006, 01:58 PM
ElDiabloConCaca's Avatar
U.S.D.A. Prime
 
Join Date: Aug 2001
Location: San Antonio, Texas
Posts: 10,283
Thanks: 3
Thanked 109 Times in 101 Posts
ElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the roughElDiabloConCaca is a jewel in the rough
Try adding "audio.html" to the list of default Directory Index entries in the httpd.conf file. Specifically, your DirectoryIndex entry under mod_dir in httpd.conf should look something like this:

Code:
DirectoryIndex index.html index.htm index.shtml default.htm default.html index.php audio.html
http://httpd.apache.org/docs/1.3/mod...directoryindex

http://httpd.apache.org/docs/1.3/mod/mod_dir.html
__________________
Power Macintosh G4/500MHz "Yikes!" 10.4.11 Server • 1024MB • 3 x 120GB + 320GB • DVR-111D • 2 x Radeon 7000 PCI • 2 x 17" CRT
MacBook 2.0GHz Core 2 Duo - White 10.5.5 • 2048MB • 80GB • CD-RW/DVD-ROM
iPod Photo 60GB • iPod nano 1GB • AT&T DSL 6Mb/768k
http://www.jeffhoppe.com
Reply With Quote
  #8  
Old January 28th, 2006, 02:38 PM
Mac Metal Head
 
Join Date: Nov 2003
Posts: 821
Thanks: 0
Thanked 0 Times in 0 Posts
HateEternal is on a distinguished road
^^ That will definitely do what you want, or you could just rename it index.html.
Reply With Quote
Reply

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about starting to build websites Raven Design & Media 10 November 23rd, 2004 04:35 PM
Simple Question which should have a simple answer :) owaters Networking & Compatibility 6 April 11th, 2004 07:05 PM
simple question Koelling Mac OS X System & Mac Software 2 April 18th, 2002 09:10 PM
Simple question senne Apple News, Rumors & Discussion 2 August 12th, 2001 07:37 AM
I simple OS X question. I_GOT_A_G4 Mac OS X System & Mac Software 9 March 24th, 2001 07:36 AM


All times are GMT -5. The time now is 04:16 AM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.