You are an unregistered user, you can register here
Navigation

Information

Site

Donations
If you wish to make a donation you can by clicking the image below.


 
Go Back   The Unreal Admins Page > Forums > Unreal Admins > General > Tips & Tutorials Followups

Reply
Thread Tools Display Modes
  #1  
Unread 27th August, 2002, 01:00 AM
Azazel's Avatar
Azazel Azazel is offline
Administrator
 
Join Date: Jul 2002
Location: UK
Posts: 2,408
Default

Follow up thread for this tutorial
Reply With Quote
  #2  
Unread 10th May, 2003, 10:09 PM
Kippenijzer Kippenijzer is offline
Forum Newcomer
 
Join Date: May 2003
Location: Netherlands.gif
Posts: 4
Default

I guess the webmin tutorial could do with some instrucitons on getting the Linux kernel 2.4 + webmin difficulties out of the way for a large part of its users.
The problem is related to some strange tcp/ip malfunction, which doesn't occur using local unix sockets. Now there's a utillity for that, called netcat (http://freshmeat.net/projects/netcat/). Having this utillity listening on some port and forwarding it's date to the one the webmin is running on (thus over local sockets) solves the problem (for most people, the one's for who it doesn't do have some bad configuration towards localhost settings probably)
Adding "5180 stream tcp nowait.600 nobody /usr/bin/nc -w10 localhost 9000" to ones /etc/inetd.conf has the remote port 5180 for webmin using a locally configurred for port 9000 server available (there are some examples on how to have xinetd do the same thing)

This solves it, only has one difficulty, having to type in the entire url, that can be solved to (although quitte foul)
Have iptables PREROUTING tabel forward the remote port 9000 to a local port your apache listens (not the same u use for server webpages though)
and add a virtual host using mod rewrite to have it redirected to the netcat entrance to webmin (read into VirtualHosts if you don't know about it)
Add the following Rewrite rules to the virutal host :
RewriteEngine On
RewriteRule ^/ServerAdmin/(.*)$ http://servers.ip.goes.here:5180/ServerAdmin/$1 [R]
RewriteRule ^/([^/]+)$ http://servers.ip.goes.here:5180/ServerAdmin/ [R]

This will have all requests for either the real, or the netcat port redirected to the entire url webmin needs to stop itself from rewriting it's url into the one using the faulty ("real") port it's running on...

Please do add the ServerName directive to the UWebmin btw, it help's the rewriting a lot
Reply With Quote
  #3  
Unread 11th May, 2003, 01:50 PM
Bry's Avatar
Bry Bry is offline
Super Moderator
 
Join Date: Aug 2002
Location: Uk
Posts: 395
Default

The tutorial is how to use web admin and what the options are for, not how to set it up.

That is covered in other tutorials
__________________
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:02 AM.


 

All pages are copyright The Unreal Admins Page.
You may not copy any pages without our express permission.