Apache :: Infinite Loop In LAMP Website

Jul 18, 2013

We are getting infinite loops due to the user requesting the same page continuously , even if apache sends a 200. It is happening randomly once every two or three weeks for different users.This issue is not confined to one browser it is happening with firefox 21, firefox 5, ie 8, etc. It is not happening to the same user again.

It is a PHP based website with custom CMS.We are never able to replicate this issue.Is this something related to a plugin installed on a browser ?

PHP Version 5.3.8
Mysql
Apache 2.0
SUSE

View 1 Replies


ADVERTISEMENT

Infinite Loop From Mod_rewrite

Dec 6, 2007

I am having trouble figuring this out.

I am receving this error in my error log:

Code:
[error] [client XX.xxx.XXX.x] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
Now Earlier I had that ip keep accessing my server for an odd reason. So I used mod_rewrite to block its requests.

Code:
RewriteRule file /index.php [R=301,NC]
RewriteRule file2 /index.php [R=301,NC]
RewriteRule file3 /index.php [R=301,NC]
So I am convinced Errors I am getting with these are from bots that are not accepting the redirects?

View 6 Replies View Related

Apache :: Gmail SMTP Contact Form On Lamp Hosted Website

Jan 8, 2015

I have a LAMP server at home and in my website I added a php form using gmail smtp but Im not receiving any emails from the form. Do I need to add something to my server? Im using the free contact form from this website [URL]....

View 9 Replies View Related

AOL Hitting Website In A Loop

May 7, 2009

I have a question regarding something.

I have a live visitor tracking software so I see visitors online in my website

Some hour ago someone from AOL United States was on my contact page website.

Then after an hour i see the same user is still on the contact page but he is going from home domain.com to domain.com/contact.php

Then after 10 seconds he goes again to the homepage, 10 seconds later he goes again the contact page. So the counter shows 1000 pages this visitors is hitting all the same, forwards and backwards, to the homepage and back to the contact page, again and again in a loop for 10 seconds in one, 10 seconds in the other.

So I think this must some user that left his PC on and is going crazy in a loop, has a virus or something abnormal. The IP resolves to a AOL proxy cache using Internet Explorer with low resolution ,536 something.

So I go into the server restart apache, and think this is going to cut or break the connection. No, user is still there looping.

So I say, enough with this, this is not normal, I block the IP. Then voila the user changes IP but same browser from AOL. I say what? Block the new IP and this little devil changes IP again. So i think this must be someone trying to corrupt my webstats or is having fun on me, since a DDOS attack would not be so stupid to use only 1 IP. I block every IP and he keeps changing. So I block the full range from 205.188.116/***

View 4 Replies View Related

Apache/php Locate Infnite Loop

Dec 3, 2008

my system sometimes just hangs, until i manage to restart apache.

i believe one of my programs, most likely php scripts, has infinite loop, unfortunately i'm clueless which script, where.

View 3 Replies View Related

Apache :: HTAccess Redirect Loop

Jan 25, 2014

Well, I was trying to use the following in htaccess, but I get the message of redirect loop.

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?page=$1 [L,QSA]

What I want to do is this: The URL is like somedomain.sub.com/somepage/s1/s2The index.php is accessible from somedomain.sub.com/somepage/I want to send s1/s2 as $_GET['page']

Also, I don't want the URL in the address bar to change, only the url sent to the server should change. This worked well in my localhost, but on webserver (0fees.net), it doesn't work ...

View 1 Replies View Related

Apache :: Setting Up Second Server With LAMP

Feb 21, 2015

I am just trying to understand what I am doing wrong when I try to set up a second server with LAMP. I already have a working server with LAMP but i didn't set that one up. Now I am trying to add additional machine and I am trying to figure out what else do i have to do so the machine will work as virtual server for my webpage(s).

Like I said, on a new server i already installed Lamp, forwarded ports 80, 22, 442 ....to correct LAN IP, and added an entry under apache2 sites-available like this:

"<VirtualHost *:80>
ServerName test.com
ServerAlias www.test.com
ServerAdmin info@test.com
DocumentRoot /media/BigBoy/www/test
ErrorLog ${APACHE_LOG_DIR}/test_error.log
CustomLog ${APACHE_LOG_DIR}/test_access.log combined
</VirtualHost>"

Than i connected a new domain to my main IP but it automaticly connects to the old server that is already running in my home network. So the question is what do i have to do, for my new server to run the webpages i want to? Do i have to add a specific command on old server or something else i forgot?

View 1 Replies View Related

Apache :: Reducing TTFB (Linux LAMP Server)

Mar 1, 2015

I've just switched my Apache and PHP config over to linux(ubuntu 14.10).

Apache 2.4.12 is using the mpm-event worker and PHP 5.6 is running in FastCGI/fpm mode.
I'm running MariaDB 10.0.17

I'd like to reduce the time to first byte even more, its currently 80 ms for static files and 110ms for PHP generated pages.

1. 80 ms seems like a lot, since the ping to the server is <15ms

How can I reduce this? Are there some tweaks for the Linux networking stack or Apache that I can apply?

I'm also using SSL, I remember it could be tweaked to improve its performance but I don't remember how..

I currently enabled the following in my main apache config:

Code:
ServerSignature Off
ServerTokens Prod
TraceEnable off

EnableMMAP on
EnableSendfile on

UseCanonicalName On

2. Is there a mod_spdy for Apache 2.4? what about http 2.0?

3. Can I tell PHP to make use of unix sockets to connect to the database server? (I heard unix sockets is faster)

4. I've installed memcached for PHP, can I also use this for Apache?

View 5 Replies View Related

Apache :: Every Single Webpage Visit Redirects To Webpage - Redirect Loop

Sep 1, 2014

I've been having troubles with my website recently . I installed a forum software (MyBB), and the problem started happening shortly after. I've talked to a few site admins in the MyBB community but they all say that none of MyBB's scripts are capable of doing this.

Every single webpage i visit redirects me to a webpage which then has a redirect loop. I've removed all recent changes made to my website via FTP and restarted apache, but i'm still receiving the same error. I'm not quite sure what to do.

Link to my website: ript.onl
Screenshots: [URL] ....

Every single webpage does this. I dont have any .htaccess files around and i've checked a few config files for anything out of the ordinary, but haven't seen anything.

View 3 Replies View Related

Nameserver Loop

Mar 25, 2007

my nameservers are failing I ran a DNS test over at [url]

and entered one of the accounts hosted on my server www.darkdemon.org

and at the end of the results I get

nameserver loop detected

I normally get my friend to setup my nameservers sadly hes on holiday at the moment so I'm trying to setup the nameservers myself, any idea how I can resolve this issue?

I'm running Centos 4

Cpanel / WHM

View 5 Replies View Related

Email Loop From NetVentures

May 30, 2009

Has anyone else got an email from NetVentures regarding a review site and then getting 8+ tickets from other hosts? Seem to be a lot of victims... [url]

View 5 Replies View Related

Unmounting Amd Deleting Loop

Jul 1, 2008

I am writing on this forum and I am hopping some will help me. I have an issue with unmounting and deleting the /dev/loop0 on my host machine. Below is the error I am getting:

# losetup -d /dev/loop0
ioctl: LOOP_CLR_FD: Device or resource busy

View 2 Replies View Related

Alteon LB And SSL Redirection Loop

Aug 8, 2008

I am having an issue with one of our sites sitting behind an alteon load balancer. Basically, when people try to checkout from a store it redirects to https. Well, this gets stuck in a loop and never responds. If you go to https directly it works fine till you try and check out.

Flow is like this 443->loadbalancer->81 apache web server.

Anyway, I think it has something to do with the session getting lost. I've read some on proxying but I am not sure how to get it working.

View 1 Replies View Related

Apache :: Running Website On VPS

May 9, 2013

I've installed apache on my windows 2008 vps . It's run and when I browse localhost , it's works fine . But when I enter the vps ip address , it says Chrome could not connect to ... , I'm sure that httpd is running on port 80 (I checked it via netstat -ao and task manage ) ....

View 1 Replies View Related

Apache :: Can't Access Website Using Other IP On Same LAN

Dec 20, 2013

I m newbie to apache server. I have created a web site using apache server with theURL... tutorial. I m able to access my web site on my ip address bt unable to access it using other ip of linux system. I m CentOS user. I can ping that ip with my ip. I have edited files as described in the tutorial.

View 1 Replies View Related

Apache :: Accessing Website From Different Computer

Mar 2, 2014

I have 3 computers on the same network. One running apache2 on Ubuntu 12.04 and the others with Windows7. I want to access the website I set up from a Windows machine. When I type in the URL, domain.com, I get a 404 error. When I type in 127.0.1.1/domain.com I get the directory listing for the website. I have to actually type 127.0.1.1/domain.com/public_html/ before the website can actually be seen. I would like to get rid of the public_html part. I am brand new to all this.

View 1 Replies View Related

Apache :: Add Multiple Web Pages To Website?

Jan 23, 2014

How do I add multiple web pages to my server?

View 6 Replies View Related

Apache :: Open Proxy On Website

May 23, 2015

I'm trying to fix a problem with open proxy on my website. It's running ubuntu & apache2. I also run pfsense for a firewall with snort. I have a SSL for the website, so I have regular port 80 redirect to https.

At first I did notice right away when I checked & saw this happen that proxy was turned on. So I got that turned off.

My firewall is still allowing these bad IPs to port 80. I would like to figure out what I could turn on the firewall or snort to stop those connections in addition to what needs fixing in apache. I've read the solution is to make the redirects go to a 403 error page.

I also tried adding a mod_security rule but ended up blocking all people from website, though I may have accidentally turned some other rules on too.

There are a few different problems it looks like.

First - It looks like they're trying to connect to my HTTPS then redirect to an ad through my domain name?
Second - It looks like they're still trying to use my website for open proxy but directly accessing ib.adnxs.com through my port 80. My logs indicate I'm redirecting to a 301 page.

View 2 Replies View Related

Apache :: Website Inbuilt Cache Not Enough

Feb 4, 2013

We have a Joomla based website and we are using the inbuilt cache to make the website fast enough for our users... but it really isn't working well... i would say.

The Joomla Cache is very limited and we were thinking if we can enable a server side cache for apache/php or something like that... which would work above Joomla and make all the contents cacheble.

View 14 Replies View Related

Apache :: How To Open Website Using Its Dedicated IP Address

Feb 12, 2015

I have a VPS and run few websites. I am not good in Apache and Linux. I just got a dedicated IP address for one of my domains. I like that the website opens just by typing the IP address in the address bar of the browser. How can I activate that?

View 5 Replies View Related

Apache :: Connecting To Website Gives White Screen

Mar 14, 2015

So, let me start off by saying I am completely new to website and FTP server hosting. I've hosted game servers in the past so I know about port forwarding and the like but this is obviously a step-up. I've managed to get a fully-functioning FTP server that works great on the domain I'm using but the website using Apache just gives people a blank white screen (as stated in the description). I'm using port 55567 for the website as I don't know want to use 80 because of security risks and what not. The domain being used is delawaretexasrepository.t28.net. Below are the error.log, httpd.conf and httpd-vhosts.conf.

httpd-vhosts.conf: [URL] ....

httpd.conf: [URL] ....

error.log: [URL] ....

View 8 Replies View Related

Apache :: HTAccess Error While Login At Website

Jun 19, 2014

I encountered htaccess error while login at my website. I never change my username and password. How to solve it?

View 1 Replies View Related

Apache :: How To Create Proxy Tunnel For A Website

Mar 11, 2013

Some of websites like youtube and facebook are blocked in my country and we can't access them .in addition most of tunneling protocols like PPTP are blocked too . I want to create a website that tunnels between our network and this website like proxy or other ways. Scripts like phpProxy are not secure and many websites don't permit the visitors who come with this scripts. A very good sample for my idea is walww.com . This websites is like alternate for blocked addresses like facebook, but it's premium and require charging cash .

How can I create website like walww.com . I have my own VPS and Host for this issue. Is that possible to serve this blocked websites trough proxy by configuring apache settings?

View 1 Replies View Related

Apache :: Configuration To Setup Password For Website

Jul 8, 2013

I want to setup a password for a website running on Ubuntu server, and find Apache can be used. It is implemented by config httpd.conf file and .htaccess file.

So I want to ask:

1. In this case, the password is setup for a path on the server configured in httpd.conf file. Like in the following example:

Code: <Directory "/var/www/html/MySite">

The password is setup for the path to Mysite,right?

2. If my content of website is not stored under /var/www folder, I cannot use this way to setup a password for website, right? May use PHP instead?

View 1 Replies View Related

Apache :: Redirect Website To Ubuntu Machine

Aug 10, 2010

I have build windows xp machine. This machine is running OTRS ticket system. All of our users login using [URL] .... and agent can login with [URL] ....

I have also build ubuntu 9.10 machine and installed OTRS ticket system. I like redirect the [URL] ..... in windows xp to Ubuntu 9.10 with [URL] ....

I searched httpd.conf file and tried to change virtual host but it did not worked.

View 3 Replies View Related

Apache :: How To Detect Where User Has Come From A Specific Website

Nov 1, 2013

configure Apache server to handle users requests using condition based on where he come from so i can redirect him . what i need if user came with from site start with xn--* redirect him to virtual host and if he came from any other link then go to another virtual host

View 2 Replies View Related

Apache :: Allow Website To Be Accessed With Http And Https

Jun 7, 2015

I recently got a SSL-certificate for my website. Now the old links to my website (using only http) doesnt work, the visitors just getting redirected to my index page. How can I change my .htaccess so both http and https works, but keep https as the preferred? Or even better, redirect old http links to https? I'm not using www.

My current .htaccess:
RewriteCond %{HTTPS} off
RewriteRule (.*) https ://%{HTTP_HOST}%{REQUEST_URI}

View 2 Replies View Related

Apache :: Block IP From Accessing A Certain Page On Website

Dec 14, 2014

I have the following code in my .htaccess file to block an IP from accessing a file on my site and it works fine.

<Files mypage.html>
Order Deny,Allow
Deny from XXX.XXX.XXX.XXX
</Files>

Is there a way to block an IP from accessing a page (e.g., mydomain.com/mypage/)?

View 3 Replies View Related

Apache :: Website Migration To New / Identical Webserver

Sep 12, 2013

I moved a tomatocart website with its database, www-root. + keeping all its file and folder permissions.The username on the new server is the same, same id same name same permissions ect. The database name is the same the passwords are the same, location of www-root server same.

The website works it fetches and stores in the mysql database.At the old server with the same tomatocart website you could browse to example domain. ex/1-catagory-bananas and you would see a nice grid of bananas you can order. But there is no folder 1-catagory-bananas on the old or new server you just stay on the index.php but the url goes exampledomain.ex/1-catagory-bananas and the viewed website reloads

On the new server with the same URL i get a "NOT FOUND /1-catagory-bananas ect."so the website works perfeclty on the new server?

View 1 Replies View Related

Apache :: Directories On Website Need Authentication Against LDAP

Nov 5, 2012

We have a website running on Apache ver 2.2.3.

A couple of directories on the website need authentication against LDAP. The setup has been working for many years and all of a sudden is giving some issues.

The page asks for authentication and once login details are entered, either it throws an error "Page has moved" or "Please refresh your browser or reload the page".

As far as I am aware no configuration has been changed for LDAP or for Apache. The website runs on Windows Server 2003.

I am very much new to Apache and cannot seem to find any errors logged.

View 2 Replies View Related

Apache :: Website Showing Blank Page?

Apr 30, 2015

I recently configured a Centos 6.5 server with Java JDK1.8 and the bundled Tomcat server X64 application. I confirmed the web server port is not already in use and also installed the Tomcat APR libraires. The application starts fine and all the logs show no severe errors however when I navigate to te URL I see a blank page. All the configuration files are in tthe correct place and whether I use just :8080 or /licenseserver the page is still blank. If I run the element inspector in the browser it shows 404 file not found.

View 2 Replies View Related







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