08-10-2011
Do the old URLs have anything in common, like a directory or naming? If so, you could use a rewrite rule to direct them to a script, which then produces the correct
301 redirections for each page.
Or, if available, use the
RewriteMap rule with an appropriate external program, but this wouldn't tell the clients that the target has been moved permanently and would run on every request.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi all,
I need to write a unix script in which need to call a url.
Then need to pass parameters to that url.
please help.
Regards,
gander_ss (1 Reply)
Discussion started by: gander_ss
1 Replies
2. Shell Programming and Scripting
Hi all,
I need to write a unix script in which need to call a url.
Then need to pass parameters to that url.
please help.
Regards,
gander_ss (1 Reply)
Discussion started by: gander_ss
1 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. UNIX for Dummies Questions & Answers
Hello,
I need to redirect an existing URL, how can i do that?
There's a current web address to a GUI that I have to redirect to another webaddress. Does anyone know how to do this?
This is on Unix boxes Linux.
example:
https://m45.testing.address.net/host.php
make it so the... (3 Replies)
Discussion started by: SkySmart
3 Replies
6. Web Development
I am trying to find a way to test some code, but I need to rewrite a specific URL only from a specific HTTP_HOST
The call goes out to
http://SUB.DOMAIN.COM/showAssignment/7bde10b45efdd7a97629ef2fe01f7303/jsmodule/Nevow.Athena
The ID in the middle is always random due to the cookie.
I... (5 Replies)
Discussion started by: EXT3FSCK
5 Replies
7. UNIX for Dummies Questions & Answers
Here is what I have so far:
find . -name "*php*" -or -name "*htm*" | xargs grep -i iframe | awk -F'"' '/<iframe*/{gsub(/.\*iframe>/,"\"");print $2}'
Here is an example content of a PHP or HTM(HTML) file:
<iframe src="http://ADDRESS_1/?click=5BBB08\" width=1 height=1... (18 Replies)
Discussion started by: striker4o
18 Replies
8. Shell Programming and Scripting
Hello,
Am very new to perl , please help me here !!
I need help in reading a URL from command line using PERL:: Mechanize and needs all the contents from the URL to get into a file.
below is the script which i have written so far ,
#!/usr/bin/perl
use LWP::UserAgent;
use... (2 Replies)
Discussion started by: scott_cog
2 Replies
9. Web Development
I have a Rewrite Rule that helps me redirect a page with no hindrance.
I am rewriting
mydomain.com/best
to
mydomain.com/#!/
using
RewriteRule ^\/best\/? /#!/
Now I want to Rewrite
mydomain.com/#!/best
to (0 Replies)
Discussion started by: Junaid Subhani
0 Replies
10. Web Development
I am hoping someone maybe able to help me find a better way to redirect URL's in a better way which requires less changes to the .htaccess file.
Here is an example of the URL:
https://<myservername>.com/test/application/applicationclient?t=<application_base_name>&a=<ADMIN/USER>
using... (0 Replies)
Discussion started by: techy1
0 Replies
LEARN ABOUT CENTOS
ldapget
ldapget(8) ldapget(8)
NAME
ldapget - Tool used to fetch URLs via LDAP/LDAPS
SYNOPSIS
ldapget [NSS database] <url>
DESCRIPTION
A tool supplied with the Apache httpd mod_revocator plug-in used to demonstrate how CRLs can be fetched using LDAP/LDAPS without the use of
any direct LDAP/LDAPS URLs.
The mod_revocator plug-in requires the mod_nss plug-in to also be registered with this Apache httpd process.
Prior to mod_revocator-1.0.3-16, this tool was located at /usr/bin/ldapget.
OPTIONS
[NSS database]
Optionally specifies the destination directory where the NSS databases reside. If this parameter is not provided, the location
specified in mod_nss plug-in's /etc/httpd/conf.d/nss.conf configuration file will be utilized:
# Server Certificate Database:
# The NSS security database directory that holds the
# certificates and keys. The database consists
# of 3 files: cert8.db, key3.db and secmod.db.
# Provide the directory that these files exist.
NSSCertificateDatabase /etc/httpd/alias
<url>
The LDAP/LDAPS URL utilized to fetch the CRL. The following entry in mod_revocator plug-in's /etc/httpd/conf.d/revocator.conf con-
figuration file contains a sample utilization of this executable (the line containing ldapget must be uncommented in order to be
utilized):
# CRL URLs:
# A space delimited list of URLs to retrieve and install.
# protocol://urldata;update_interval;max_age
#CRLFile "ldap://ldap.example.com:5000/o=example.net?
usercertificate%3binary?sub?(sn=Jensen)??;30;30"
#CRLFile "exec:///usr/sbin/ldapget|ldap://ldap.example.com:
3389/o=example.com?userCertificate%3bbinary?sub?
(uid=crl)??;30;30"
#CRLFile "https://ca.example.com:1025/getCRL?op=
getCRL&issuepoint=MasterCRL;30;30"
BUGS
Report bugs to http://bugzilla.redhat.com.
AUTHORS
Rob Crittenden <rcritten@redhat.com>.
COPYRIGHT
Copyright (c) 2013 Red Hat, Inc. This is licensed under the Apache License, Version 2.0 (the "License"); no one may use this file except in
compliance with the License. A copy of this license is available at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITH-
OUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and
limitations under the License.
Rob Crittenden Jul 3 2013 ldapget(8)