|
#1
| |||
| |||
| 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. |
|
#2
| ||||
| ||||
|
__________________ |
|
#3
| |||
| |||
| 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. |
|
#4
| ||||
| ||||
| 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
__________________ |
|
#5
| |||
| |||
| 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? |
|
#6
| ||||
| ||||
| 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
__________________ |
|
#7
| ||||
| ||||
| 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/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 |
|
#8
| |||
| |||
| ^^ That will definitely do what you want, or you could just rename it index.html. |
![]() |
| Thread Tools | |
|
|
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 |