11-18-2011
That sounds more like something your browser would deal with, than a web server would, if "/dev" is exactly all what you propose typing into the address bar.
If you meant (i.e.) http://localhost/dev, then you could certainly use a ReWrite rule to get to the address you want.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi folks.
i know that this is not a realī unix problem, itīs an apache-webserver problem, but maybe you can help me?
i have installed apache & mod_ssl, done a certificate, and configured my server well, but apache only understands "http://servername", not "https://servername".
any ideas?
... (1 Reply)
Discussion started by: loitschix
1 Replies
2. UNIX for Dummies Questions & Answers
I have been trying to implement https auto-redirect for a particular links. I have three configuration file /etc/apache2/apache2.conf, /etc/apache2/sites-available/default, and /etc/apache2/sites-available/ssl. In /etc/apache2/sites-available/default file I added following script
<IfModule... (13 Replies)
Discussion started by: kumarrana
13 Replies
3. Shell Programming and Scripting
I have to write a sed script which removes http and https from a URL. So if
a URL is https://www.example.com or Example Web Page, script should return me Example Web Page
i tried echo $url | sed 's|^http://||g'. It doesn't work. Please help (4 Replies)
Discussion started by: vickylife
4 Replies
4. Shell Programming and Scripting
Hi friends,
I have a local host http://ss3/cgi-bin/page/page_list.cgi running on apache webserver perfectly well. But suddenly, it stopped working and gave an error "Internet explorer Explorer cannot display the webpage". But when i added https, as https://ss3/cgi-bin/page/page_list.cgi the... (2 Replies)
Discussion started by: nmattam
2 Replies
5. UNIX for Dummies Questions & Answers
Hi new to the forum,
I have a Apache server on CentOS which hosts a web site. I've set up the SSL which has been tested as I can access my website via http and https.
I would like to redirect all browsers to use https instead of http. I have created the htaccess file which contains 'Allow... (3 Replies)
Discussion started by: Sai245
3 Replies
6. UNIX for Dummies Questions & Answers
I have recently setup a HTTP server using Apache.
This was my first install of Apache, so I am very new to it.
What I would now like to do is setup HTTPS for my server.
Unfortunately, the official Apache 2.2 manual doesn't cover setting up HTTPS, and using Google search engine I have found... (2 Replies)
Discussion started by: SSL
2 Replies
7. Web Development
Hi Team,
I have a question on the apache mod_rewrite module. I have a requirement of rewriting only specific url's to https.
Requirement below:-
want to match a word (test) on the url and if matches then it should rewrite to https.
example:-
... (1 Reply)
Discussion started by: arumon
1 Replies
8. Proxy Server
Hi there,
I have a VPS and am working on a little side project for myself and friend which is a DNS proxy. Everything was great till recently. My VPS IP has been detected by some botnet or something, and I believe SMURF attacks are occuring. The VPS provider keeps shutting down my VPS... (3 Replies)
Discussion started by: phi0x
3 Replies
9. UNIX for Advanced & Expert Users
Hello
I googled for "tcpdump view HOST http headers" -- that fine
However can we do same for HTTPS like after the HTTPS gets decrypted by Apache ?
I think this is legitimate on the server where the site is hosted since at some point the Apache itself needs to get the HOST patrameter in... (1 Reply)
Discussion started by: coolatt
1 Replies
LEARN ABOUT CENTOS
polipo
POLIPO(1) General Commands Manual POLIPO(1)
NAME
polipo - a caching web proxy
SYNOPSIS
polipo [ -h | -v | -x ] [ -c config ] [ var=val ]...
DESCRIPTION
Polipo is a caching HTTP proxy. It listens to requests for web pages from your browser and forwards them to web servers, and forwards the
servers' replies to your browser. In the process, it optimises and cleans up the network traffic.
By default, Polipo listens on TCP port 8123. Please configure your web browser to use the proxy on localhost port 8123.
OPTIONS
-h Display help and exit.
-v Display the list of configuration variables and exit.
-x Purge the on-disk cache and exit.
-c Select an alternate configuration file.
var=val
Change the value of a configuration variable.
FILES
/etc/polipo/config
The default location of Polipo's configuration file.
/etc/polipo/forbidden
The default location of the list of forbidden URLs.
/var/cache/polipo/
The default location of the on-disk cache.
/usr/share/polipo/www/
The default root of the local web space.
SIGNALS
SIGUSR1
write out all in-memory objects to disk and reload the forbidden URLs file.
SIGUSR2
write out all in-memory objects to disk, discard all in-memory objects, and reload the forbidden URLs file.
SIGTERM, SIGINT, SIGHUP
write out all in-memory objects to disk and quit.
SECURITY
The internal web server will follow symbolic links that point outside the local document tree. You should run Polipo in a chroot jail if
that is a problem.
There is no reason to run Polipo as root.
FULL DOCUMENTATION
The full manual for Polipo is maintained in a texinfo file, and is normally available through a web server internal to Polipo. Please make
sure that Polipo is running, and point your favourite web browser at
http://localhost:8123/
Alternatively, you may type
$ info polipo
at a shell prompt, or
C-h i m polipo RET
in Emacs.
AUTHOR
Polipo was written by Juliusz Chroboczek.
POLIPO(1)