Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Redirecting requests from 8153 and blocking access to the same Post 302606187 by Arun Kumar on Friday 9th of March 2012 07:33:59 PM
Old 03-09-2012
MySQL Redirecting requests from 8153 and blocking access to the same

Hey All,

Problem:

I have a application which runs on port 8153 (http) and on 8154 (https). For design reasons i can not block tcp connections to 8153.

How do i forward all requests from http 8153 to https 8154( this would be the ideal solution)

Or
redirect all requests that come to http localhost 8153 to https localhost

I have been able to achieve the following: redirect any request that is coming for http localhost 8153 to https localhost
I have the following in my ssl.cof

ProxyPass / http ://localhost:8153
ProxyPassReverse / http ://localhost:8153

In this setup, how do i stop direct access to http //localhost:8153 ( i can not use anything like iptables drop)

Any help is appreciated
 

9 More Discussions You Might Find Interesting

1. Email Antispam Techniques and Email Filtering

Sendmail Access DB TLD Blocking ....

Now this is a bit tricky, but works great if you can decide which Top Level Domains or TLDs you want to receive mail We are getting so much spam from countries we never receive useful mail, I've been experimenting with blocking entire TLDs using sendmail access_db as an antispam technique. ... (0 Replies)
Discussion started by: Neo
0 Replies

2. Web Development

Sending two requests from one link

Hi everybody, Is it possible to have a URL link i.e. <a href=""></a>, which sends out two requests to a site? As an example, I want want to combine these two links. The first link loads files. The second link searches these files. But I want just one link, where went a user clicks on it,... (3 Replies)
Discussion started by: z1dane
3 Replies

3. IP Networking

redirecting ssl requests with squid?

say i have an apache server configured for ssl/non ssl virtual hosts and a proxy configured as follows (see squid.conf) the ssl on each name based virtual host is configured on its own port (only 7 of the domains need this the rest are just media and other insignificant bits of data but domains... (1 Reply)
Discussion started by: hopper195
1 Replies

4. UNIX for Dummies Questions & Answers

Which program can I use for blocking unauthorized access via/ssh/ftp

Hi, I need to install a program on my Centos 5.3 server that will block unauthorized ssh/ftp access attempts. The two features I require is that I should be able to configure the program to block the IP of the intruder after a a certain amount of access attempts and that it should display a... (3 Replies)
Discussion started by: mojoman
3 Replies

5. HP-UX

Some I/O requests to this LV are waiting

Hi All I have a blade BL860c running on a C7000 chassis, in which is connected to a NetApp, so lately I am having I/O issues, and dmesg as well as syslog.log is reporting the following: /dev/vg01/lvol2 file system file data error in dev/block 0/55892768 Page I/O error occurred while paging... (2 Replies)
Discussion started by: fretagi
2 Replies

6. Post Here to Contact Site Administrators and Moderators

Google Chrome is blocking access to UNIX.com

For some reason Google Chrome sees unix.com as dangerous and has start to block it. I need to select advanced and continue on own risk. Can you make an effort to remove unix.com form the list of dangerous site from Google. IE has not this problem. (5 Replies)
Discussion started by: Jotne
5 Replies

7. Programming

Which are blocking and non-blocking api's in sockets in C ?

among the below socket programming api's, please let me know which are blocking and non-blocking. socket accept bind listen write read close (2 Replies)
Discussion started by: VSSajjan
2 Replies

8. SCO

Rshd requests logging

I would like to log requests to rshd on OSR 5.0.7, hopefully it is possible. Requests are coming from client Windows PCs, it all works most of the time, but few PCs are not able to do it. I am not sure where to start - do I tweak syslog.conf? Any pointers would be appreciated. (4 Replies)
Discussion started by: migurus
4 Replies

9. Shell Programming and Scripting

awk script to find time difference between HTTP PUT and HTTP DELETE requests in access.log

Hi, I'm trying to write a script to determine the time gap between HTTP PUT and HTTP DELETE requests in the HTTP Servers access log. Normally client will do HTTP PUT to push content e.g. file_1.txt and 21 seconds later it will do HTTP DELETE, but sometimes the time varies causing some issues... (3 Replies)
Discussion started by: Juha
3 Replies
alevtd(1)						      General Commands Manual							 alevtd(1)

NAME
alevtd - webserver for videotext pages SYNOPSIS
alevtd [ options ] DESCRIPTION
alevtd is http daemon which serves videotext pages as HTML. Tune in some station with a utility like v4lctl or some TV application. Then start it and point your browser to http://localhost:5654/ Pages may be requested either in HTML format (http://localhost:5654/<page>/ or http://localhost:5654/<page>/<subpage>.html) or in ASCII text format (http://localhost:5654/<page>/<subpage>.txt). Subpage "00" can be used for pages without subpages. OPTIONS
-h print a short help text and the default values for all options. -v dev set vbi device (default: /dev/vbi). -d enable debug output. -s Write a start/stop notice and serious errors to the syslog. Specify this option twice to get a verbose log (additional log events like dropped connections). -t sec set network timeout to >sec< seconds. -c n set the number of allowed parallel connections to >n<. This is a per-thread limit. -p port listen on port >port< for incoming connections. Default 5654. -n hostname set the hostname which the server should use (required for redirects). -i ip bind to IP-address >ip<. -l log log all requests to the logfile >log< (common log format). Using "-" as filename makes alevtd print the access log to stdout, which is only useful together with the -F switch (see below). -L log same as above, but additional flush every line. Useful if you want monitor the logfile with tail -f. -u user set uid to >user< (after binding to the tcp port). This option is allowed for root only. -g group set gid to >group< (after binding to the tcp port). This option is allowed for root only. -F don't run as daemon. alevtd will not fork into background, not detach from terminal and report errors to stderr. -r poll tv frequency, clear vtx page cache if a frequency change was detected. SEE ALSO
alevt(1), xawtv(1), v4lctl(1) AUTHOR
Gerd Knorr <kraxel@goldbach.in-berlin.de> COPYRIGHT
Copyright (C) 2000 Gerd Knorr <kraxel@goldbach.in-berlin.de> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. (c) 2000 Gerd Knorr alevtd(1)
All times are GMT -4. The time now is 07:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy