View previous topic :: View next topic |
Author |
Message |
Pookie -
Joined: 05 Jan 2005 Posts: 60 Location: Citrus Heights, CA
|
Posted: Wed Jan 05, 2005 3:15 am Post subject: Playin a mp3 file from my htdocs folder |
|
|
Is there a way to make the browser play a mp3 file i have located in the htdocs folder? heres the directory:
http://pookie/htdocs/TheIsleyBrothersChooseyLover
is that correct? If not how can i correct it. _________________ ~TRU~ |
|
Back to top |
|
 |
Glitch2082 -
Joined: 02 Dec 2004 Posts: 194
|
Posted: Wed Jan 05, 2005 3:31 am Post subject: |
|
|
For all that i know, its up to the user(s) browser. IE, tends to try and open .mp3 files in wm, other browsers tend to just save .mp3 files. Usually acording to what the options the user selected. _________________ int main() {
cout << "Im Pro Apache";
cin.get();
} |
|
Back to top |
|
 |
Pookie -
Joined: 05 Jan 2005 Posts: 60 Location: Citrus Heights, CA
|
Posted: Wed Jan 05, 2005 5:07 am Post subject: |
|
|
no matter how i seem to put the link, IE doesn't do anything with the file. It keeps sayin "404 NOT FOUND". and im sitting here lookin at the file in this folder im directing it to. am i typing the path wrong? _________________ ~TRU~ |
|
Back to top |
|
 |
Glitch2082 -
Joined: 02 Dec 2004 Posts: 194
|
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Wed Jan 05, 2005 7:18 am Post subject: |
|
|
You typed the path wrong , you are correct , htdocs is the folder you put all
your website files and directories in , but as a server address htdocs is just
a / followed by the directory or file that is being requested. LateR!
Correct Path -> http://pookie/TheIsleyBrothersChooseyLover |
|
Back to top |
|
 |
Pookie -
Joined: 05 Jan 2005 Posts: 60 Location: Citrus Heights, CA
|
Posted: Wed Jan 05, 2005 10:02 am Post subject: |
|
|
non of them links work lol. i guess IE doesn't stream mp3 files _________________ ~TRU~ |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Wed Jan 05, 2005 10:07 am Post subject: |
|
|
It all depends what you have , do you get a download prompt at least ? |
|
Back to top |
|
 |
Pookie -
Joined: 05 Jan 2005 Posts: 60 Location: Citrus Heights, CA
|
Posted: Wed Jan 05, 2005 2:53 pm Post subject: |
|
|
no i dont get anything but a page that says it cannot be displayed _________________ ~TRU~ |
|
Back to top |
|
 |
Pookie -
Joined: 05 Jan 2005 Posts: 60 Location: Citrus Heights, CA
|
Posted: Wed Jan 05, 2005 3:43 pm Post subject: |
|
|
ok forget about that last part, it said downloading then quicktime came up in IE and started playing the file just fine.
Now i gotta find a port that works so users can access all my files. Comcast doesn't seem to wanna open most ports but i'll keep tryin. Can i use the ftp port (21)? or that wont work? _________________ ~TRU~ |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Wed Jan 05, 2005 4:12 pm Post subject: |
|
|
If they are blocking port 80 they will most likely block other common server ports as well eg. ftp/telnet/ssh etc. Your best bet is to use a random number over 1024 and less than 65000. If you think that users will have problems remembering the port, use a webhop service to redirect to your site... |
|
Back to top |
|
 |
Pookie -
Joined: 05 Jan 2005 Posts: 60 Location: Citrus Heights, CA
|
|
Back to top |
|
 |
Pookie -
Joined: 05 Jan 2005 Posts: 60 Location: Citrus Heights, CA
|
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Wed Jan 05, 2005 5:51 pm Post subject: |
|
|
Quote: |
Connection Failure Error
Offline Error
The connection was refused when attempting to contact 192.168.0.11:1028.
|
It looks like you have the wrong IP set at no-ip - you've set your hostname to point to the local IP address instead of your internet IP... |
|
Back to top |
|
 |
Pookie -
Joined: 05 Jan 2005 Posts: 60 Location: Citrus Heights, CA
|
Posted: Wed Jan 05, 2005 6:19 pm Post subject: |
|
|
ok its set to the right IP, but now I CANT play the file so it looks like i better try another port and forward it _________________ ~TRU~ |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Wed Jan 05, 2005 6:46 pm Post subject: |
|
|
Before you change it... Some routers cannot handle 'loopback' - this means a machine on the local network requesting a connection to the internet IP, in other words, your LAN PC trying to connect to your No-IP address. It may be that while it will not connect for you it is actually working fine for others - you need to use a proxy server or ask one of your friends to test the site for you while the server is running. If it is working, behind the router you will need to use your LAN IP to connect. |
|
Back to top |
|
 |
|