/    Sign up×
Community /Pin to ProfileBookmark

[RESOLVED] HELP! Making a simple subdirectory page

DISREGARD — I GOT IT FIXED.

All of my html files are in HTDOCS. Rather than this…

[url]www.hottergas.com/listen.html[/url]

I want…

[url]www.hottergas.com/listen[/url]

Because Average Joe out there might not be able to type the .html extension correctly.

It was my understanding that I simply create the subdirectory, “listen” and then change the name of “listen.html” to “index.html” and when someone types in…

[url]www.hottergas.com/listen[/url]

…it will pull up the page. Is this incorrect?

Regardless, here is the code I used within the page to display an audio “play” button for an audio file on [url]www.hottergas.com/listen.html[/url].

[code]

<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0″ width=”60″ height=”65″ > <param name=”movie” value=”smplayers/l_smword11.swf”> <param name=”bgcolor” value=”FFFFFF”> <param name=”FlashVars” value=”src=mp3files1/800796C6C6E2D60733&enc=1&tt=1&pl=1&sc=FFFFFF&bgc=——&bc=004080″> <param name=”autoplay” value=”false”> <embed src=”smplayers/l_smword11.swf” bgcolor=”FFFFFF” width=”60″ height=”65″ type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer” FlashVars=”src=mp3files1/800796C6C6E2D60733&enc=1&tt=1&pl=1&sc=FFFFFF&bgc=——&bc=004080″> </embed> </object>
[/code]

The code above WORKS CORRECTLY to display the audio button.

But when I created the new subdirectory “listen” and then changed “listen.html” to “index.html” I changed the paths within the above so that it now is…

[code]
<object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0″ width=”60″ height=”65″ > <param name=”movie” value=”../smplayers/l_smword11.swf”> <param name=”bgcolor” value=”FFFFFF”> <param name=”FlashVars” value=”src=../mp3files1/800796C6C6E2D60733&enc=1&tt=1&pl=1&sc=FFFFFF&bgc=——&bc=004080″> <param name=”autoplay” value=”false”> <embed src=”../smplayers/l_smword11.swf” bgcolor=”FFFFFF” width=”60″ height=”65″ type=”application/x-shockwave-flash” pluginspage=”http://www.macromedia.com/go/getflashplayer” FlashVars=”../mp3files1/800796C6C6E2D60733&enc=1&tt=1&pl=1&sc=FFFFFF&bgc=——&bc=004080″> </embed> </object>
[/code]

But it does not display the button on [url]www.hottergas.com/listen[/url]. What am I doing wrong?

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@Duke_WillauthorApr 23.2006 — DISREGARD -- I did a search and replace rather than hand-coding and it got fixed. I still don't know where the error is.
×

Success!

Help @Duke_Will spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...