LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

RDP-redirect eth1 - LAN eth0 tunnel

Posted 12-18-2011 at 05:48 AM by routers

public server
Code:
[routers@lan1-pub.mars ~]$ ssh -f -L 3000:localhost:3389 routers@lan1.venus  sleep 2d
laptop
Code:
routers@sol-11:~$ ssh -f -L 3000:localhost:3000 routers@lan1-pub.mars  sleep 2d
then...
rdp localhost:3000 will bring to lan1.venus server interface, but only user routers can login
Member
Posted in Uncategorized
Views 217 Comments 0 routers is offline
Old

Apache : rewrite loop to localhost redir Apps

Posted 12-18-2011 at 05:24 AM by routers
Updated 12-18-2011 at 05:30 AM by routers (NOB)

In the pluto aka public
Code:
<VirtualHost *:80>
        ServerName server.asterisk.noc.com.pluto
        RewriteEngine     On
        RewriteRule       ^(.*)$        http://localhost:8088$1 [P]
        UseCanonicalName On
        RewriteRule ^(.*)$ [L]
</VirtualHost>
[root@pluto ~]# ps x |grep 8088
 4463 ?        Ss     0:00 ssh -f -L 8088:localhost:8088 root@lan1-pub.mars sleep 2d
In the...
Member
Posted in Uncategorized
Views 182 Comments 0 routers is offline
Old

Apache mod_gzip

Posted 02-21-2010 at 01:22 PM by routers

normaly on by default but check

grep 'mod_deflate' /etc/httpd/conf/httpd.conf

and add the following to httpd.conf

#
# Deflate output configuration
#
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Member
Posted in Work Note
Views 810 Comments 2 routers is offline
Old

Sun UpdateManager

Posted 07-27-2009 at 11:11 PM by routers
Updated 07-27-2009 at 11:30 PM by routers (test)

Login to update




Member
Views 535 Comments 0 routers is offline
Old

simple calculator

Posted 07-27-2009 at 10:22 PM by routers

Code:
[noc@nc ~]$ echo $((100+100))
200
[noc@nc ~]$
Member
Posted in Uncategorized
Views 517 Comments 0 routers is offline

  



All times are GMT -5. The time now is 04:33 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration