Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: TwiLight on April 24, 2002, 01:46:36 AM
-
i have no domain name.. just an ip... My ip = 212.204.172.195... however.. when i want to access my comp... it cant.. because the server puts WWW in front of it... how can i solve this.. PLZ EMAIL ME
-
http://cc24091-c.zwoll1.ov.nl.home.com/mp3
-
Yeah, I'm having the same problem, where is the configuration file, so I can edit it and fix it???
-
First go into this directory
/etc/e-smith/templates/etc/httpd/conf/httpd.conf
then open up '95ApacheMMP310Handler' with an editor
Now at the bottom of the file right above the line $OUT .= "<\Directory>\n"; add the following line
$OUT .= "PerlSetVar StreamBase http://WHATEVER YOUR IP IS\n";
Now save this file and goto the directory /etc/httpd/conf
And open httpd.conf with an editor, now go all the way to the bottom then go back up a little to the section entitled #Add Perl MP3 Handling to mp3/html directory
Now add the following line somewhere in that section
PerlSetVar StreamBase http://WHATEVER YOUR IP IS
Now save it and exit, then goto cd /etc/rc7.d and restart S85httpd-e-smith
that should do it, at least that's how I did it... and I'm streaming now!