I am currently working on a proxy listing script. After adding a proxy to the list when I click on it it gives 404 Not found error, The requested URL / was not found on this server. Apache/2.2.22 (CentOS) Server at www.thehideip.com Port 80 You can check it out at, thehideip.com Kindly help me out.
http://www.thehideip.com/www.thehideip.com < that? If the URL is meant to be at the end like that then check your .htaccess rules.
^ When you click on the URL it seems as it isn't redirecting to the actual website it is adding it to the end of your current domain. Either your .htaccess is incorrect or the script is misconfigured.
.htaccess file is like this, # Customized error messages. #ErrorDocument 404 /index.php <IfModule mod_rewrite.c> RewriteEngine on # If your site can be accessed both with and without the 'www.' prefix, you # can use one of the following settings to redirect users to your preferred # URL, either WITH or WITHOUT the 'www.' prefix. Choose ONLY one option: # # To redirect all users to access the site WITH the 'www.' prefix, # (http://example.com/... will be redirected to http://www.example.com/...) # adapt and uncomment the following: RewriteCond %{HTTP_HOST} ^proxycoder\.com$ [NC] RewriteRule ^(.*)$ http://www.proxycoder.com/$1 [L,R=301] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d #RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^admin\-([a-z\-]+)\.php$ admin.php?do=$1 [NC,QSA,L] RewriteRule ^animatedcaptcha\.gif$ animatedcaptcha.php [NC,QSA,L] RewriteRule ^(feed|rss)(\.xml)?$ index.php?do=feed [NC,QSA,L] RewriteRule ^(feed|rss)\-([a-z\-]+)(\.xml)?$ index.php?do=feed&feedtype=$2 [NC,QSA,L] RewriteRule ^list\-([a-z\-]+)\.php$ index.php?do=$1 [NC,QSA,L] RewriteRule ^visit\-([a-z\-]+)\.php$ index.php [NC,QSA,L] </IfModule> Code (markup):