![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|||||||
| Notices |
|
Sign up for a free OCAU account and this ad will go away! Search our forums with Google: |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Member
Join Date: Jul 2001
Location: Under the Bed.
Posts: 4,970
|
I'm currently trying to get a default landing page up and running for users I have banned off my network for breaching usage agreements.
I have a dst-nat rule running in my firewall that catches all web traffic (port 80, 443) and forwards it to an internal mac os x server running apache. trouble is, it looks like apache is seeing the 'target url' and ignoring the requests. (if i forward the traffic to say, a router's web interface it works fine) can/how can i get apache to not care about what url is sent to it, and just send out the landing page? **excuse the vagueness, it has been years since i have had to deal with apache at all - usually just do the network side of things
__________________
Samsung XE700T1A :: i7 MacBook-Pro 2010 :: i7 2600k :: 16Gb ripjaws :: P67A-UD7 :: 4GB GTX680 FTW :: Xonar Essence STX :: Dell 2709W :: G9/G13/G19/Z4 :: Spectre/Marauder |
|
|
|
| Join OCAU to remove this ad! |
|
|
#2 |
|
Member
Join Date: Mar 2006
Location: Rockingham, WA
Posts: 444
|
What version of OS X server are you running? Essentially all you need to do is make a wildcard virtualhost.
__________________
MacBook Air - 1.7GHz i7 - 11" - 4GB RAM - 256GB SSD Mac Mini 2ghz - 2GB RAM - 2x Pinnacle TV tuners - 32" Toshiba LCD ESX Server - i7 920 - 12GB RAM - 3TB HDD Nikon D40 - 18-55mm - 70-300mm - 35mm Volvo S40 - 1999 |
|
|
|
|
|
#3 |
|
Member
Join Date: Jul 2001
Location: Under the Bed.
Posts: 4,970
|
pretty sure they are still running 10.6.8.
I assumed a wildcard virtual host is what we needed, however as I dont usually deal with web stuff how would i go about doing this?
__________________
Samsung XE700T1A :: i7 MacBook-Pro 2010 :: i7 2600k :: 16Gb ripjaws :: P67A-UD7 :: 4GB GTX680 FTW :: Xonar Essence STX :: Dell 2709W :: G9/G13/G19/Z4 :: Spectre/Marauder |
|
|
|
|
|
#4 | |
|
Member
Join Date: Jul 2001
Location: Under the Bed.
Posts: 4,970
|
Quote:
ServerAlias * to the httpd.conf? **unrelated note.. seems the edit button isnt there =x ***its back. upon further inspection it looks like it was the bloody mikrotik router we have not doing the dst nat correctly. ended up having to redirect all port 80 traffic (for specified addresslist) to the internal port of its webproxy, and set the parant proxy to the landing page. (only thing the proxy is used for). this got it working as intended. but dayum is it a workaround and a half.
__________________
Samsung XE700T1A :: i7 MacBook-Pro 2010 :: i7 2600k :: 16Gb ripjaws :: P67A-UD7 :: 4GB GTX680 FTW :: Xonar Essence STX :: Dell 2709W :: G9/G13/G19/Z4 :: Spectre/Marauder Last edited by SpudBoy; 27th July 2012 at 1:54 PM. |
|
|
|
|
![]() |
| Bookmarks |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|