Redirecting site using .htaccess with masking


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Redirecting site using .htaccess with masking
# 1  
Old 02-04-2010
Redirecting site using .htaccess with masking

I am trying to redirect my site to another with masking using .htaccess.

I have the redirect working, but it does not mask. Here is what I have in my .htaccess:

Code:
RewriteEngine On

rewritecond %{http_host} ^http://www.securepaynet.net/default.aspx?ci=1767&prog_id=globalnerds
RewriteRule / http://www.securepaynet.net/default.aspx?ci=1767&prog_id=globalnerds [P,L]

the site where this .htaccess is located is
Code:
goglobalnerds.com

Any ideas?

Last edited by globalnerds; 02-04-2010 at 06:13 PM.. Reason: code tags, please...
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Web Development

CentOS 7 redirecting me to old disabled dev site when removed from sites-enabled

I am having problems accessing a new site I am trying to setup on my CentOS 7 VM. I have added a vhosts file for it, but when I access easydev.com in the browser it continues to redirect me to the old (now disabled) dev site of crmpicco.dev. Is there something wrong with my config? # apachectl... (3 Replies)
Discussion started by: crmpicco
3 Replies

2. IP Networking

IPSec Openswan Site to Site VPN - Big Pain

Hi @all, I try to connect 2 LANs with IPSec/Openswan LAN 1: 192.168.0.0/24 LAN 2: 192.168.1.0/24 This is my Config: conn HomeVPN # # Left security gateway, subnet behind it, nexthop toward right. left=192.168.1.29 ... (1 Reply)
Discussion started by: bahnhasser83
1 Replies

3. IP Networking

Does cisco 1921 router support site to site VPNs using IPSec?

Q: "Does Cisco 1921 router support,, act as an endpoint for, site to site VPNs using IPSec? If so, how many? " A: If you get the Cisco 1921/k9 with the security services bundle then it will have built in security features. Cisco, typically includes IP Sec tunnels I believe as part of that... (0 Replies)
Discussion started by: Ayaerlee
0 Replies

4. IP Networking

How to establish site to site vpn - Linux machine and cisco asa?

Hi, I am trying to establish vpn between my linux server and cisco asa at client side. I installed openswan on my cent os. Linux Server eth0 - 182.2.29.10 Gateway - 182.2.29.1 eth1 - 192.9.200.75 I have simple IPtables Like WAN="eth0" LAN="eth1" (0 Replies)
Discussion started by: ashokvpp
0 Replies

5. UNIX for Advanced & Expert Users

.htaccess redirect with masking

I am looking to forward the following with masking via my .htaccess file: www.mywebsite.com/origpage www.mywebsite.com/newpage I do not want to forward the entire site, just this one page with masking. Neither page has an extension. I am able to forward with .htaccess - but it does not mask the... (1 Reply)
Discussion started by: globalnerds
1 Replies

6. Emergency UNIX and Linux Support

Masking of number

BAT:0310:2009-08-0:Y4 :H:D:00003721:03103721.IFH:00138770:05767:00000000001279' EXR:CLP:912.570000' STA:A:9071559:2009-08-10::Wer::Mrs' DEF::531.97:531.97:310221661617::+ABC:BAL:1:N::::5:40.00:0.00:2009-08-10:CN:1111111111109962::3:N:missc :N:PH:00010833:... (5 Replies)
Discussion started by: mad_man12
5 Replies

7. Shell Programming and Scripting

Data Masking

I have a pipe delimited file that I need to 'mask' to before loading to keep some data confidential. I need to maintain the first 4 bytes of certain columns and replace the remaining bytes with an 'x'. I would like to maintain spaces but it's not a requirement. Example, need to mask columns 2... (2 Replies)
Discussion started by: 1superdork
2 Replies

8. IP Networking

port access to site to site VPN

Setup a site to site VPN between two cisco routers. One of the site locations is unable to access ports such as https://example.com:9001 How do I let them go into port 9001? They can ssh, ftp, telnet and everything else. Is this a VPN issue or ACL access issue? I put permit ip host... (0 Replies)
Discussion started by: photon
0 Replies

9. IP Networking

IP Masking

Is it possible for a internal LAN to mask a IP e.g. i have a server ip running the intranet ip being 192.168.0.8 and i want to make that like www.intranet.com is this possible on a internal network ? (1 Reply)
Discussion started by: perleo
1 Replies
Login or Register to Ask a Question
ost::IPV6Mask(3)					     Library Functions Manual						  ost::IPV6Mask(3)

NAME
ost::IPV6Mask - Internet addresses used specifically as masking addresses (such as ' 255.255.255.0') are held in the IPV6Mask derived object. SYNOPSIS
#include <address.h> Inherits ost::IPV6Address. Public Member Functions IPV6Mask (const char *mask) Create the mask from a null terminated ASCII string such as '255.255.255.128'. Friends __EXPORT IPV6Host operator& (const IPV6Host &addr, const IPV6Mask &mask) Masks are usually used to coerce host addresses into a specific router or class domain. Additional Inherited Members Detailed Description Internet addresses used specifically as masking addresses (such as ' 255.255.255.0') are held in the IPV6Mask derived object. The separate class is used so that C++ type casting can automatically determine when an IPV6Address object is really a mask address object rather than simply using the base class. This also allows manipulative operators for address masking to operate only when presented with a Masked address as well as providing cleaner and safer source. Author: David Sugar dyfet@ostel.com Internet Address Mask such as subnet masks. Constructor &; Destructor Documentation ost::IPV6Mask::IPV6Mask (const char *mask) Create the mask from a null terminated ASCII string such as '255.255.255.128'. Parameters: mask null terminated ASCII mask string. Friends And Related Function Documentation __EXPORT IPV6Host operator& (const IPV6Host &addr, const IPV6Mask &mask) [friend] Masks are usually used to coerce host addresses into a specific router or class domain. This can be done by taking the Inet Host Address object and 'and'ing it with an address mask. This operation can be directly expressed in C++ through the & operator. Returns: a internet host address that has been masked. Parameters: addr host address to be masked by subnet. mask inetnet mask address object to mask by. Author Generated automatically by Doxygen for GNU CommonC++ from the source code. GNU CommonC++ Sat Jun 23 2012 ost::IPV6Mask(3)