Way To Protect URLS

May 23, 2009

Are there any scripts out there that can protect URLs? For an example I am trying to protect a megaupload.com URL with a masking URL and making sure that the masking URL is only access by a referral site. Can this be done?

View 1 Replies


ADVERTISEMENT

How To Password Protect Web Pages, I Can Protect Directories But Can't Put Pages In

Mar 4, 2007

i did make a big message on here but it deleted when i back spaced

my website is aviation cafe dot net / sample and i need you to help me with password protecting a webpage, i wanted the address to be / the silver sword and definitly not to look like it does now.

username: webforum
pass: password

View 4 Replies View Related

Temporary Urls

Jul 13, 2009

how can i provide temporary urls for users on my server like [url]until the actual domain resolves? ive seen this done in with cpanel but i dont know how its done exactly. my current server does not have cpanel.

View 11 Replies View Related

Blocking Outside Urls

Jul 19, 2008

Let's say you want to protect againts hacking,and using method with simply blocking loading url.So let's say someone hacked your index.html and changed links to lead to his domain.com.Is it possible to block what would be loaded on site ?(to prevent possible future hacking intrusions)

View 6 Replies View Related

Blocked URLs

May 4, 2008

I'm testing scripts on new server now, and server has 2 problems.

1. I can not enter domain name as "get" parameter. For example, if I'm requesting URL like domain.com/file.php?url=[url] - it does not work. If I'm requesting URL like domain.com/file.php?url=[url](please note it has INVALID extension for TLD) - it works!

2. fsockopen and file_get_contents does not work. I added these settings into php.ini:

allow_url_fopen = On
allow_url_include = On

...and nothing works. I get just blank pages when using these functions.

Server is running cpanel + apache 2.2 + php 5 + APF firewall

View 6 Replies View Related

Strange Urls In 404 Logs

Aug 15, 2008

I just found hundreds of rubbish urls in awstats for a particular domain. Is this referrer spam or something more serious and can I do something about this?

I have attached a screenshot.

View 4 Replies View Related

Apache :: How To 301 Redirect Non-www To Www URLs

Nov 30, 2013

1.Find .htaccess file in root folder
2.Open .htaccess file
3.Delete all content
4.Type in this code(using your domain ):

<IfModule mod_rewrite.c>RewriteEngine onRewriteBase /RewriteCond %{HTTP_HOST} !^www.example.co.uk$ [NC]RewriteRule ^(.*)$ http://www.example.co.uk/$1 [L,R=301]RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]</IfModule>

View 3 Replies View Related

Apache :: 2.4.3 Not Generating Correct URLs?

Aug 22, 2013

We're running Apache 2.4.3 on Slackware 14:

LCMlinux ~> uname -a
Linux LCMlinux 3.2.29-smp #2 SMP Mon Sep 17 13:16:43 CDT 2012 i686
LCMlinux ~> httpd -v
Server version: Apache/2.4.3 (Unix)
Server built: Aug 23 2012 11:07:26
LCMlinux ~>

We are using this both for the Trac issue-tracking application and for a small, simple internal mirror web site. Trac is working perfectly; the web site works if exact URLs are provided (as in <a href=...>

View 7 Replies View Related

Search Engine-friendly URLs On Server API: CGI

Sep 27, 2007

One of the sites I have, is placed on a non-Apache server (the others are). Phpinfo() gives this:
Server API CGI

I'd like to make search engine-friendly URLs for all my sites. All of them will do fine with mod_rewrite, but that's not possible on this server, it seems. Anybody here knows how I can do this for this particular server?

View 1 Replies View Related

Apache :: Trying To Rewrite URLs With Query Strings

Feb 23, 2013

I need htaccess file for one of my sites. I've searched everywhere, and I can't find a solution for my problem.

System Info:
Easy Apache v3.18.1
CentOS 6.3 (x86_64)

So I'm trying to redirect all URLs in a certain query range to a new website. i.e.,

mydomain.com/?p=35000
mydomain.com/?p=35001
mydomain.com/?p=35002
mydomain.com/?p=35003
etc.

all need to 301 redirect to myotherdomain.com

I don't need to append each query to the new domain. All the URLs simply need to redirect to the naked domain of the other site. So

mydomain.com/?p=35000 is not redirecting to myotherdomain.com/?p=35000

It is simply redirecting to myotherdomain.com

Also, I need to redirect the specific series ([35000-35999]) to the new domain. I want to redirect the www and the non-www URLs.

I've attempted to write the code myself, but when I upload the htaccess file, the URLs are not redirecting. I'm doing something wrong.

Here's what I've tried:

Code:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^mydomain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.mydomain.com$
RewriteCond %{QUERY_STRING} ^p=([35000-35999]*)$
RewriteRule ^(.*)$ "http://myotherdomain.com/" [R=301,L]

View 2 Replies View Related

Apache :: HTAccess - Redirect Only One Kind Of URLs

Jan 28, 2014

This redirect redirects all subpages of a domain to another domain while not redirecting to index.php but to same page, only at another domain:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^cz.hq-scenes.com$ [NC]
RewriteRule ^(.*)$ http://cz.hq-scenes.com/$1 [R=301,L]

I want to achieve that only pages like /viewtopic.php...............

will be redirected (............. means any other characters)

How to redirect all viewtopic.php pages only? How to modify it? 

View 2 Replies View Related

Apache :: Rewriting URLs Before They Are Returned To Client - How?

Apr 24, 2013

I need to accomplish the following:

1. User hits my new 2.4 reverse proxy at [URL] ....

2. I proxy the request through to my "real" app server at [URL] ....

3. I also use a re-write rule to add a querystring to the URL: ?Parameter=Foo

4. So, client's request arrives at the my app server as [URL] .....

5. When my app server responds, it is including the Parameter=Foo key/value combination. I don't want this.

6. I want my reverse proxy (somebox.com) to strip "Parameter=Foo" from the string which gets returned to the client.

I have steps 1 & 2 working nicely, but it looks like I can't handle the last bit with with mod_rewrite. I found mod_filter and mod_substitute, but it appears that this stuff is used for re-writing strings IN the document. Can these libs be used to maybe modify (I'm guessing here) the headers so that the "?Parameter=Foo" string can't be seen on the client if they're running something like fiddler?

View 3 Replies View Related

Apache :: Mod Rewrite To Overcome Relative URLs

Jun 3, 2013

I've taken over a site that caters for client access. They all access there own folder, and in the folder the files have an include with a relative path as below.

/core - contains all the actual files
/client/file.php -
<? include "../core/file.php";?>
but with the growing number of clients I want to go a level deeper and separate them better...
/uk/client/file.php -
<? include "../../core/file.php";?>

This is fine but when the files are included, they too have there own relative includes and this is where it breaks.
There are so many files I can't easily go through them to change all the include paths so I would like to maybe do a rewrite to fake the path? I've tried this...

RewriteRule^uk/$ /

But that doesn't work.

View 2 Replies View Related

Apache :: Logwatch 404 And 503 Errors To External URLs

Mar 11, 2015

I used a little vServer with ubuntu (turnkey) and use logwatch to be informed by email about any errors. I'm confused about the following errors from Apache:

--------------------- httpd Begin ------------------------
Requests with error response codes
404 Not Found
http://translate.google.com/gen204: 1 Time(s)
http://www.teddybrinkofski.com/ip_json.php: 1 Time(s)
503 Service Unavailable
http://www.google.com/: 1 Time(s)
---------------------- httpd End -------------------------

These errors are definetly not from my own code. I have checked that mod_proxy is disabled and i disabled also CONNECT like here described: [URL] ....

What does these errors mean and how can i disabled this?

View 4 Replies View Related

AddType In HTAccess Causes Apache To Serve Bad URLs

Nov 15, 2013

My website is on 1and1 shared hosting and to enable PHP I needed to put in my .htaccess the following

AddType x-mapp-php5 .php .html .htm .shtml

View 11 Replies View Related

Apache :: Adding A Header To A Number Of Requested URLs

Oct 23, 2014

I am attempting to add a header to a number of requested urls i.e. domain/feeds/chicago, domain/feeds/*.I understand that this can be achieved by

•using mod_rewrite to set an environment variable
•using mod_headers to add a header based on the existence of an environment variable.

So far I can add the a new header thus Header add RSS_FEED_URL "Akamai-Edge-Control"

View 1 Replies View Related

Apache :: URLs Ending In / Show 404 When Exploring With Google Bot In

Nov 7, 2012

I have a WP online shop using WP E-commerce plugin 3.8.9 together with the SEO Yoast plugin.My problem in that when exploring the product URLs ending with / in google webmaster tools, it displays 404. But the same URL without / is found and ok. I must day that both URLs show up correctly in browsers and the non / version is redirected to the one ending in /.Here is my .htaccess:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

I could solve this problem by setting a redirect to non / URLs instead.

View 3 Replies View Related

Plesk 12.x / Linux :: XenForo Nginx Friendly URLs

Jan 28, 2015

I'm trying to use nginx php-fpm on my forum, and to set friendly url's, I am told to add this to nginx config:

Code:
location / {
try_files $uri $uri/ /index.php?$uri&$args;
index index.php index.html;

[Code] ....

I try adding this using the Additional Nginx Directives, and get this error:

Code:
Invalid nginx configuration: nginx: [emerg] duplicate location "/" in /var/www/vhosts/system/domain.com/conf/vhost_nginx.conf:1 nginx: configuration file /etc/nginx/nginx.conf test failed

I think if my domain was in a folder, this wouldn't be a problem. I really don't want to change that, though.

View 3 Replies View Related

Plesk 11.x / Linux :: URLs With Special Characters - Error 404 Not Found

May 28, 2014

I'm migrating some websites from old server with virtualmin, some websites have files with special characters as à,ö,ç etc...

On the other server the files (images for example) are served well but on the new server with plesk 11.5 error 404 appears. (Nginx reverse proxy is activated)...

View 2 Replies View Related

Plesk 12.x / Linux :: HTTP 414 Errors On URLs Only 256 Characters Long

Oct 29, 2014

My Linux (CentOS) server with Plesk 12 is giving HTTP 414 errors ("URL too long") in response to URLs which are over 256 characters in length. They happen to include a GET variable in the query string which accounts for most of this length, and if I shorten it manually, it works. But I can't change the script to submit a shorter URL or send it by POST, because it comes from an external payment processing server which I don't control.

Adding the following lines to my /etc/httpd/conf/httpd.conf file and restarting Apache does not work:

LimitRequestLine 8190
LimitRequestFieldSize 8190

The URLs I'm trying to use are well short of 8190 bytes; they are around 800 characters long.

Is this something that Plesk affects / can control? Is there a way to see what the current maximum setting for URL length is, and to change it?

View 14 Replies View Related

Plesk 11.x / Windows :: URLs With Special Characters - Error 404 Not Found

May 28, 2014

I'm migrating some websites from old server with virtualmin, some websites have files with special characters as à,ö,ç etc.. On the other server the files (images for example) are served well but on the new server with plesk 11.5 error 404 appears. (Nginx reverse proxy is activated)

View 1 Replies View Related

How To Protect Port 80

Nov 2, 2007

someone attacking my VPS via port 80, which firewall u advice me to use on windows 2003 WEB edition ?

Or anyone have smillar experiance and can tell me what to do? Btw my hosting company is LeaseWeb.

View 5 Replies View Related

How Do I Protect My Website

Jun 29, 2009

This is probably a pretty complicated answer so please forgive me as I'm a newbie to making my own ecommerce website.

What steps are needed to protect/prevent one's site from being hacked? I have domain privacy (on WhoIs) but I feel this isn't enough.

View 4 Replies View Related

Protect Directory

May 22, 2007

i have another question is their a way to protect a directory without using .htaccess because i dont have modrewrite installed on my apache server.

View 4 Replies View Related

How To Protect Website

Feb 20, 2007

Last days my site was hacked to the main page has been added the "iframe" tag with path to the virus loading. I don't know how somebody could edit the original page and insert this code to the html body. This time I have updated this page from archive but I would be glad to know how to protect my site in future. Could somebody advice me fast and effective methods?

View 7 Replies View Related

How To Protect Cpanel And Whm

Dec 28, 2007

what is the best way to protect whm and cpanel from unwanted login?

If i change the port they still can sniff, is there away to put another layer to protect it or assigned specific ip to be able to login ? I'm on a dedicate server and only hosting for 1 site so there no customer that i should worry about.

can i change /whm and /cpanel to something else just to hide it form novice users.

View 14 Replies View Related

How To Pwd Protect Directories Without Cpanel

Jul 28, 2009

how to pwd protect directories with when using no control panel, I am planning to change the login details of the protected directories every few days as well as its top secret data, so I would like to know how to protect directories with pwd, I know how to do using control panel such as cPanel r Plesk but I am having no control panel at this interface

I intend to share the files under this protected directories only to my team, so plz help me with codes if there are any

its cent 0s5, apache handler

View 4 Replies View Related

Bot Attack, How To Protect Server

Oct 22, 2009

how to protect an linux dedicated server from bot attack. Im using linux server with cPanel, using CSF firewall + DOS Deflate.

View 5 Replies View Related

How To Protect Reverse IP Information

Apr 10, 2009

is it way to protect Reverse IP information ?

I mean someone can't see friend sites in same vps/server.

This is my domain ( godaddy )
[url]

And another domain ( not me )
[url]

View 1 Replies View Related

Keep Clamv As Auto Protect

Apr 5, 2009

How can have clamv antivirues as auto protect mode in whm/cpanel server?

We need to configure clamv as auto protect.

View 2 Replies View Related

How To Protect A File For Being Overwritten

Aug 15, 2008

Probably a cron file is updating one of my files every night. Then normally the script is not working, script owner is not responding my emails. So any ways to protect the file for being overwritten.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved