02-18-2011
Redirect to diff port on apache
Hi,
I'm running both mail (webmail port = 8080) and web (http = 80) on same box. i am able to redirect as below without any problem.
From:
http://mail.abc.com
To:
http://www.abc.com:8080
I did the above with a simple virtualhost and redirect directive.
But my requirement is to have same url (
http://mail.abc.com) on user's browser's address bar. i.e., redirection to diff port with SAME URL.
Is it possible? if yes, pls advise
Thanks,
Reddy
10 More Discussions You Might Find Interesting
1. HP-UX
I have two servers running apache server, namely server A and B.
All users access server A, but for some application, I would like to redirect the request to server B.
I have set apache redirect in server A apache config file.
Redirect /application http://serverB/application
Now, the flow... (2 Replies)
Discussion started by: alfredo
2 Replies
2. Shell Programming and Scripting
hi,
i have 2 file of the same kind
file_old and file_new
there are few extra things added in new file
i want to make diff file_old file_new > file_update
( file_update are the new things added as compare to the old file )
i can i make it clearly . bcoz in diff it show all the... (8 Replies)
Discussion started by: mail2sant
8 Replies
3. Cybersecurity
Hello.
I have scenario where a Client send request to Server1.
Server1 send request to Server2.
Request are xmlHTTPRequest - need to get data (XML) from Server2 back to client.
Trying to use APACHE proxy...
Anyone can help?
What to download / configure / ...?
Thank you for your help. (1 Reply)
Discussion started by: ampo
1 Replies
4. Web Development
Hello.
I have scenario where a Client send request to Server1.
Server1 send request to Server2.
Request are xmlHTTPRequest - need to get data (XML) from Server2 back to client.
Trying to use APACHE proxy...
Anyone can help?
What to download / configure / ...?
Thank you for your... (2 Replies)
Discussion started by: ampo
2 Replies
5. Web Development
Hi,
everything is working perfectly. I have one more question.
Is it possible to specify a file instead of a directory in DocumentRoot ? (see phpinfo.php in the example).
Is it a correct procedure ?
<VirtualHost www.patrick.dev:80>
ServerAdmin patrick.diviacco@gmail.com
... (1 Reply)
Discussion started by: aneuryzma
1 Replies
6. Solaris
Dear members,
I have to problems ;
First ; I need to setup two NICs for a Solaris 10 server. But I could not do that unless giving different names in /etc/hosts file. like :
10.1.1.1 testsolaris1
10.3.1.1 testsolaris2
Second ; After solving first problem I have to setup my... (3 Replies)
Discussion started by: shadowfaxxxx
3 Replies
7. Web Development
i read thru a few article how to do it, but i could not get it to work the way i want it.
vi ../httpd.conf
Redirect permanent /dev https://servername/portal/
when i type servername, works fine.
my goal is to type dev, and it takes me to https://servername/portal/ (4 Replies)
Discussion started by: lawsongeek
4 Replies
8. Shell Programming and Scripting
Hi,
I am currently redirecting all mobile devices to my mobile site in apache. I need to exempt the following file types from redirecting even if the request is made from a mobile device.
*.css
*.jpg
*.jpeg
*.gif
*.js
Does anyone know where and what I need to do for this? Thanks in... (1 Reply)
Discussion started by: kmaq7621
1 Replies
9. Web Development
Hi All,
I have my URL as
http://mysite.com/shop/maternity/tops_30116
Now I want to append "?No=0&Nrpp=100" and then redirect to
http://mysite.com/shop/maternity/tops_30116?No=0&Nrpp=100
This is for many URL which have "maternity" inside them.
Can there be a single Redirect... (0 Replies)
Discussion started by: ankur328
0 Replies
10. Web Development
I am a total newbie to Apache. I need to do this only for this weekend during an upgrade from old system to new system
We have different URLs http://domain.name/xxx (xxx varies to any length and words - it can be /home, /login, /home/daily, /daily/report, etc).
How do i redirect all those to... (0 Replies)
Discussion started by: GosarJunk
0 Replies
LEARN ABOUT DEBIAN
svnweb-server
SVNWEB-SERVER(1p) User Contributed Perl Documentation SVNWEB-SERVER(1p)
NAME
svnweb-server - simple webserver for SVN::Web
SYNOPSIS
svnweb-server [--root DIR] [--port PORT] [--net-server Net::Server]
DESCRIPTION
svnweb-server is a webserver that runs SVN::Web. It's an easy way to use SVN::Web without having to set up Apache (or any other web
server). The tradeoff is that the server is very simple. But for light use then it may be perfectly acceptable.
OPTIONS
--root DIR
The directory in which you ran "svnweb-install".
Optional, defaults to ".".
--port PORT
The port the server should listen on.
Options, defaults to 8080.
--net-server Net::Server
The Net::Server subclass to use to create the server. A single, non-forking server is created by default. Other types of server can
be created by giving the correct Net::Server subclass. For example, to use a server that forks to handle each request, use
"--net-server Net::Server::Fork".
SEE ALSO
SVN::Web
BUGS
This is a simple server. Accordingly, a few features do not work properly at the moment.
Redirects
SVN::Web::Browse will redirect the client if the URL is missing a trailing "/". That redirection does not work with this server.
That's not an issue for any URLs generated by SVN::Web, but may be an issue for URLs that are entered by hand.
This will also affect SVN::Web::List's "redirect_to_browse_when_one_repo" option.
cgi_class
The "cgi_class" declaration (if any) in config.yaml is ignored. CGI is always used as the CGI class.
Please report any bugs or feature requests to "bug-svn-web@rt.cpan.org", or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SVN-Web <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SVN-Web>. I will be notified, and
then you'll automatically be notified of progress on your bug as I make changes.
AUTHOR
The current maintainer is Nik Clayton, <nikc@cpan.org>.
COPYRIGHT AND LICENSE
Copyright 2006-2007 Nik Clayton. All Rights Reserved.
perl v5.14.2 2012-06-11 SVNWEB-SERVER(1p)