08-03-2009
stripping http and https from a url using sed
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[s]://||g'. It doesn't work. Please help
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
What is the UNIX command to download a file or data from HTTP location.
CURL(Linux) did not work.
Thank You (4 Replies)
Discussion started by: skm123
4 Replies
2. 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
3. Programming
hi
am senthil
am developing a software to send and receive SMS using HTTP connection
first of all am forming a URL and sending that URL to a remote server using my Client Program
i send that url through Socket(using Send() Function)
if i send more than one URL one by one using the same... (0 Replies)
Discussion started by: senkerth
0 Replies
4. Shell Programming and Scripting
hi
am senthil
am developing a software to send and receive SMS using HTTP connection
first of all am forming a URL and sending that URL to a remote server using my Client Program
i send that url through Socket(using Send() Function)
if i send more than one URL one by one using the same... (4 Replies)
Discussion started by: senkerth
4 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. 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
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 DEBIAN
rlatex
rlatex(1) General Commands Manual rlatex(1)
NAME
rlatex -- Wrapper to run LaTeX/jadeTeX multiple times as needed
SYNOPSIS
[env LATEXPRG=latex-binary ] rlatex [latex-document]
Description
rlatex applies LaTeX or another LaTeX-based macro package (most notably jadetex, pdflatex, or pdfjadetex) to a given document, as many suc-
cessive times as needed.
It checks the output of a LaTeX pass, and launches a new pass when it notices specific strings which notify that the document's processing
has not been finished.
Caveats
This version is mostly tuned for jadetex, and may cause some problems when using pure LaTeX. This ought to be fixed some day.
Copyright
Copyright (C) 2001-2003 Alcove & Yann Dirson.
This rlatex is licensed under the GNU General Public License, version 2.
It is heavily derived from the doc/rlatex script in the LILO source package, which is distributed under a BSD license. The original script
does not mention its original author.
This documentation is licensed under the GNU Free Documentation License, version 1.
Contact us
rlatex is part of the sgml2x package, which is part of the AlcoveBook project (link to URL http://www.alcove-labs.org/en/soft-
ware/alcovebook/) . Please use the AlcoveBook mailing lists (link to URL https://savannah.gnu.org/mail/?group_id=533) to get in touch
with developers and users.
The list of bugs and feature requests is available through a Web interface (link to URL https://savannah.gnu.org/support/?group_id=533) .
Please use it to submit problems and ideas.
See also
jadetex(1), pdfjadetex(1), latex(1), pdflatex(1).
rlatex(1)