Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: newburns on January 11, 2012, 10:30:59 PM
-
I know this is not a good question, but I can't do a proxypass and I need help.
I want http://mtrosemedia.tk/subsonic to redirect to mtrosemedia.tk:8089/subsonic
How do I do that with the proxypass command line? I am not understanding where mtrosemedia.tk/subsonic fits into the wiki instructions.
Also, where do I send write ups to see if they will be useful?
I've installed things like Subsonic, Tomcat 7, Java 7, and some other stuff, and felt they would be useful to the community.
I have also installed Red5 but haven't come up with the proper way to create a start up script.
All I have is:
#!/bin/bash
#
# For RedHat and cousins:
#
# chkconfig: 2345 85 85
# description: Red5 flash streaming server
# processname: red5
#
PROG=red5
RED5_HOME=/opt/red5/dist
DAEMON=$RED5_HOME/$PROG.sh
PIDFILE=/var/run/$PROG.pid
# Source function library
. /etc/rc.d/init.d/functions
[ -r /etc/sysconfig/red5 ] && . /etc/sysconfig/red5
RETVAL=0
case “$1″ in
start)
echo -n $”Starting $PROG: ”
cd $RED5_HOME
$DAEMON >/dev/null 2>/dev/null &
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
echo $! > $PIDFILE
touch /var/lock/subsys/$PROG
fi
[ $RETVAL -eq 0 ] && success $”$PROG startup” || failure $”$PROG startup”
echo
;;
stop)
echo -n $”Shutting down $PROG: ”
killproc -p $PIDFILE
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$PROG
;;
restart)
$0 stop
$0 start
;;
status)
status $PROG -p $PIDFILE
RETVAL=$?
;;
*)
echo $”Usage: $0 {start|stop|restart|status}”
RETVAL=1
esac
exit $RETVAL
This file is saved as "red5" in /etc/init.d/red5
However, there is no service found named "red5"
Thanks SME Team
-
I know this is not a good question, but I can't do a proxypass and I need help.
I want http://mtrosemedia.tk/subsonic to redirect to mtrosemedia.tk:8089/subsonic
How do I do that with the proxypass command line? I am not understanding where mtrosemedia.tk/subsonic fits into the wiki instructions.
I think this post should get you started: http://forums.contribs.org/index.php/topic,47741.msg236017.html#msg236017
One tip for writing posts and getting the answers you need: Please try and put one problem per post with a matching subject. That way it is easier to attract the users that might now the solution to your problem. To me it seems the last questions are not related to proxypass and therefore others might not even look at them, although they might be able to help you with those problems.
-
This file is saved as "red5" in /etc/init.d/red5
However, there is no service found named "red5"
Perhaps that is because you do not have a symlink:
/etc/rc.d/rc7.d/S85red5 -> /etc/rc.d/init.d/e-smith-service
Create that via:
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S85red5
Another possibility is a permissions problem. Make sure that you do:
chmod +x /etc/rc.d/init.d/red5
I suggest that you read the developers guide. And that you also follow catcus's advice of one problem per post.
-
I completely understand. The last questions, were not questions I assumed anyone would answer. I was mainly interested in the Proxypass setup, but I will be more clear. I will start another thread in relation to the red5 service, and give the details of my findings. Also, I will create new post for how I installed all of the different services I use.
By the way, that link worked like a charm Any way to get that in the wiki? It may be for simple passes from http://domain.com:4040/app --> http://domain.com/app
but it was very difficult to locate this information not just in the forums, but searching ProxPass through Google. Unless you have some background, it's hard to try to understand the terms.
Also, I changed the Description property to URL but I wasn't sure if the Description property held some key information, simiar to the description of a group being Domain Admin will cause all users to be admins. Please let me know if my understanding was correct.
-
Also, I changed the Description property to URL but I wasn't sure if the Description property held some key information, simiar to the description of a group being Domain Admin will cause all users to be admins. Please let me know if my understanding was correct.
Description here is just what it says, AFAIK it only has a different meaning in the group mapping on the groups panel.
-
Any way to get that in the wiki?
http://wiki.contribs.org/Help:Contents ;-)
I never put the original info into the wiki 'cause I couldn't figure out where to put it...
-
I never put the original info into the wiki 'cause I couldn't figure out where to put it...
Wouldn't this (http://wiki.contribs.org/SME_Server:Documentation:FAQ#Proxy_Pass) be the proper place? Perhaps the already existing content can be placed under a header like 'Proxypass a domain' and the other section under something like 'Proxypass a alias/directory/location'?
-
cactus, mmccarn & all
Wouldn't this (http://wiki.contribs.org/SME_Server:Documentation:FAQ#Proxy_Pass) be the proper place? Perhaps the already existing content can be placed under a header like 'Proxypass a domain' and the other section under something like 'Proxypass a alias/directory/location'?
Based on various forum posts I have updated
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Proxy_Pass
Can people check the accuracy of what I have done.
There may be some corrections, layout improvements and additional information needed.