Random 403 Forbidden Error (after Activating Keep Alive?)
May 31, 2008
recently I have an weird problem and I don't know what might be, I just suspect that this error appeared after we have enabled Keep Alive on apache
I have the same error with randomly Forbidden error. The most time I see it is on 2 websites that are build with Gallery 2 and very rarely on other website, on my end never happent on other websites but some people told me it did.
Bellow is a small part of cPanel's "Last 300 visits" it shows every request so you can see first request was a direct link , I have wrote the galery name .. and the others are aither requests to images either other files ....
View 4 Replies
ADVERTISEMENT
Aug 2, 2007
I am trying to install a website builder script. I am using the correct permissions, the install worked fine, but while I'm using the script I get random 403 errors. It always occurs while browsing through the builder, but not on any particular pages. Sometimes I'll get a 403 error right when I log in, other times it will take several minutes before I run into a problem ...
View 3 Replies
View Related
Sep 19, 2006
I got my all accounts backup from the reseller panel I had earlier and then restored them on dedicated server using multiple account restore feature of WHM. but the problem is , when I try to open those transfered websites , they show :
Forbidden
You don't have permission to access /forums on this server.
View 7 Replies
View Related
Mar 23, 2007
Sometimes this page appear for some users, May I know why ?
Code:
Forbidden
You don't have permission to access /song.php on this server.
--------------------------------------------------------------------------------
Apache Server at www.DOMAIN_NAME.com Port 80
Also sometimes "Apache Test Page" sometimes appear to some users
1- files' permission are right.
2- this error appear mainly with users whose from "Arab Gulf area" whose access Internet via proxy. May be this is reason?
View 2 Replies
View Related
Sep 21, 2008
I recently moved my website from a shared hosting plan at Siteground to a VPS at WiredTree. All went well but I have this problem : When I try to access my website I can't. I get :
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
This happens only for my home computer. If I try to access the website from anywhere else (even via my mobile phone) it works like a charm.
I am thinking this might be a DNS cache problem. Anyone can help me better understand the problem and solve it?
View 11 Replies
View Related
Sep 27, 2009
I regularly have DNS issues with some of my sites hosted with a specific host... At random sites, the urls done resolve and I get a DNS error.
Just to find out that a few hours later it loads again without issues...
I always thought it had something to do with my ISP... My host says that there's nothing wrong with their DNS.
However, I asked a few people now and it seems they're having DNS problems too sometimes when accessing the problematic urls...
View 6 Replies
View Related
Apr 9, 2009
All of a sudden my site gives me this error
Quote:
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/nnnnn/public_html/manga/update.php on line 2
Warning: file_get_contents(http://img2.domain.com/robot.php) [function.file-get-contents]: failed to open stream: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /home/nnnnn/public_html/manga/update.php on line 2
It was working fine a week ago. I don't believe I changed anything major.
View 6 Replies
View Related
May 21, 2008
I have apache set up and it works fine from the DocumentRoot when I access the server via the IP. I've set up the following virtualhost
<VirtualHost *:80> .....
View 4 Replies
View Related
May 9, 2008
my vBulletin forum members start complaing about an intermittent forbidden error message:
Forbidden
You don't have permission to access /vb/forumdisplay.php on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request
i did tail -f /usr/local/apache/logs/error_log and find lot of lines like this:
[Fri May 9 17:13:33 2008] [crit] [client 217.69.189.2] (24)Too many open files: /.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
i also found the vb folder and all folders inside it have permession of 775 and all files have permession of 664
View 6 Replies
View Related
Jan 26, 2009
I recently uploaded files to my hosting company and when I try to access site through browser I recieve 403 Forbidden error you dont have permission to access / on this server. They say it or the problem lies in the index.html file in which I know very little about. Any help would be greatly appreciated.
Heres is the source code HOSTED @ GODADDY APACHE LINUX .....
View 4 Replies
View Related
Mar 25, 2008
I have a subdomain specifically for hosting files that I use on other subdomains and eventually on other forums. It is images
On its root there is a index.html linking some images (it is still unfinished), it opens ok and shows all images ...
View 7 Replies
View Related
Dec 17, 2014
We have installed Plesk 12 on a fresh up to date Ubuntu 14.04 x64 server.
After installation, and before any migration, we have moved some folders:
- /var/www/vhosts -> /opt/vhosts
- /var/qmail -> /opt/qmail
- /var/mysql -> /opt/mysql
We have created symlinks, modified some configuration files (Plesk included) and ran domains reconfiguration script (zero domain installed, but just in case the script will do anything else).
After that, we have launched Plesk Migration Wizard (from Plesk 9 to last release).
Everything has worked fine: all domains have been migrated on our new folders (/opt based) and owners has been correctly defined for each domain. The same for MySQL and all mail accounts.
We have checked Apache VirtualHost configured by Plesk Migration Wizard : our new folders are used (/opt).
So all seems to be ok.
But now, all websites (configured with Apache and Apache PHP module) returns 403 Forbidden error.
We have try changing to FastCGI with Apache same error.
We have try changing to full Nginx (PHP and static files), some websites run.
We have checked some KB (112884, 800) but all seems to be good.
Is there any steps we have omitted when we move folders ?
View 11 Replies
View Related
Sep 5, 2014
We are getting 403 for bidden error when accessing from web clients.
Here are my config files:
httpd.conf & httpd-ssl.conf files:
1) [URL] ....
2) [URL] ....
Any changes we have to make in our configuration files.
View 1 Replies
View Related
Dec 20, 2007
it seems that a particular client of mine complains that each time he trys to update his WHMCS, he gets blocked halfway. i also got a log about his ip getting banned due to ddos attack. is there a way to fix this? is it only filezilla that does this?
View 6 Replies
View Related
May 14, 2009
As i seem unable to get a decent reply to my ticket which is currently open with you (#210268) through your ticketing system. I am afraid i need to resort to posting here.
As i have asked in the ticket numerous times, can you please provide a reason as to why our server was offline? This ticket has been open since 29th April and so far we have only been told that you had "a couple of issues with you system".
View 14 Replies
View Related
Mar 20, 2008
I can't not change Keep Alive: on to off
My httpd.conf
User apache
Group apache
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 3
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxRequestsPerChild 0
ServerLimit 1024
MaxClients 250
ExtendedStatus On
ServerSignature Off
My php.php info:
Apache Version Apache
Apache API Version 20051115
Server Administrator webmaste@MYDOMAIN.com
Hostname:Port www.MYDOMAIN.com:0
User/Group apache(48)/48
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 60 - Keep-Alive: 1
Virtual Server Yes
Server Root /etc/httpd
Keep Alive still ON in my php page report.
View 2 Replies
View Related
Jun 27, 2007
Are there any clients of ifasthosting?
I have a vPS and couldnt connect my SSH or reset my server about 72 hours and they didnt reply my ticket about 24 hours. also server's panels are down so i couldnt get backup.
Are there any person like me? My VPS has problems after they migrate thier node from Softlayer . I want to get my backup folder now but they arent replying me.
View 14 Replies
View Related
Oct 23, 2007
I remember when digits.com was a big deal to me when I first got into web design in the 90's.
Anyways, [url] Do you think they are serious with that deal?
Do you think people still use it? The main site is PR8 but thats possibly due to the free counter-link backs and simplicity of the domain.
View 9 Replies
View Related
Nov 8, 2007
if anyone knows the status on vps4less.de? I have a VPS with them that was set to renew on 10/29, but I canceled way before then, or at least I thought it should have. I noticed a couple days after the renew date that it was still online so I sent another one, this time via WHMCS and request account cancellation link. So far, it's been 10 days (now 11/8) and I haven't heard from them, and my VPS is still online. I received an automated invoice overdue notice today, but I know that's just because they haven't closed my account yet.
View 1 Replies
View Related
Apr 21, 2008
I have a VPS with 256MB of guaranteed memory, and no burst/swap. Having little memory like this is quite common for a VPS and I want to know how to make the most of it while running websites. By far the biggest culprit for taking my memory is Apache and I'm not convinced that the default setup makes sense on a VPS.
I know there are other daemons out there that use considerably less memory, such as lighttpd, but enough people (myself included) are going to use Apache regardless (they might require some of the advanced features after all) so it is worth knowing how to get the most out of it.
Apache 2 has various mpm options, most notably prefork and worker. As I understand it the prefork method forks processes to handle requests ahead of time, and can fork more on demand if required, each process handles one request at a time. Worker uses threads, again created ahead of time and on demand, each thread handles one request at a time.
With the default configuration and prefork Apache spawned 6 processes each taking about 5MB, so there goes 50MB in total. With workers it wanted to create 50 threads, each with a 10MB stack, this instantly went over the memory limit so wouldn't start at all. Thankfully the stack can be adjusted using the ThreadStackSize setting so it can be made to run, but even after this what do you really have for your memory?
One problem with having one request per process/thread is that, again by default, Apache has a keep alive setting of 15 seconds. This means that once a request has been processed, the process/thread is then kept around for up to 15 seconds in case the client wants to do anything else. With prefork that is 5MB of memory being used, and even with threads with a reasonable 1MB stack size there is still a huge amount of memory wastage on a connection that might not even do anything. Meanwhile other visitors might be getting out-of-memory problems as Apache tries to spawn more handlers to meet demand.
I think it should be fairly obvious that the worker mpm is the best option here, if everything works fine with a 1MB stack then the thread overhead is considerably lower than the process overhead.
The new events mpm should relieve this problem as it uses an event queue to keep an eye on keep alive connections rather than a whole thread. Unfortunately this mpm is not considered stable yet, so in the mean time I am wondering if VPS users should just disable keep alive, or at least adjust it to just a few seconds.
The benefit of keep alive is that it reduces network traffic and CPU load as there is a small amount of overhead in setting up a new TCP connection. When servers had 400MHz chips and massive 256MB of ram this was a good trade off. But now VPS often have access to much more powerful processors, and the same 256MB isn't considered massive any more so a lot of applications are less frugal and less adept at running in this environment.
In the unlikely even that Apache had 200MB to play with, using 1MB threads means that the system can handle 200 idle connections before running out of resources and failing to handle new connections. With a keep alive of 15 seconds you can support 200 connections per 15 seconds. In light of the fact that many newer browsers will open 4 simultaneous connections (up from the previous 2) that is only 3.34 users per second. Drop the keep alive to 1 second and you can handle 50 users per second. These numbers are unrealistic because they assume the request handling itself takes no time at all, but a lot of requests can be handled in split seconds so maybe these numbers aren't so far fetched. If the request handling takes 250ms and you turn keep alive off you could handle 200 users per second.
I am thinking that it would be great to have a reverse proxy sat in front of Apache, one that used an event queue and thus had little memory overhead for maintaining incoming connections, but closed down its connection to Apache after each request. Unfortunately I do not know of one.
View 3 Replies
View Related
Jul 16, 2008
I'm running 4 websites on a quad core xeon x3220, with 2gig of ram. It's 4 proxy sites, they are running fine and dandy, except for the fact that even when their is little traffic going to them ram is still just as high. I'm running debian 4.0, and heres a copy of my footer Apache/2.2.3 (Debian) mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch11 mod_perl/2.0.2 Perl/v5.8.8. I'v modified nothing since I got the server, I installed apache2, and awstats, that's it. I'v read up about optimizing and it hasn't helped much, and I thought maybe their is proxy specific tweaks I could make to the conf.
View 6 Replies
View Related
May 12, 2014
It appears some elements of the ICPH webpage have keep-alive and some not.
I want to ask how to achieve all are loaded with keep-alive?
htaccess contains:
<ifModule mod_headers.c>
Header set Connection keep-alive
</ifModule>
View 6 Replies
View Related
Aug 19, 2014
I have a Cloud VPS with 1and1 and Plesk is installed on it. I happen to have a VPS view that doesn't include DNS functionality for the domains.
So, i have added domain to the system, create an email address... because i dont see on how i can manage DNS settings I have set up cloudflare and pointed domain to the cloudflare and cloudflare is pointing to server.
so I have email: me@domain.com
on cloudflare i have:
A domain @ IP
A www @ IP
CNAME mail @ domain
MX 10 mail.domain
In plesk i have set up an alias, mail.domain for domain, that has access to email.
I go to the network-tools.com to look up me@domain.com:
[Resolving mail.domain...]
[Contacting mail.domain [IP]...]
[Timed out]
View 3 Replies
View Related
Jul 14, 2014
Want to activate webDAV in a specific domain with a v_host conf file, but do not have a /conf directory in the domain path. How can I manage the this?
View 2 Replies
View Related
Aug 17, 2012
How can i remove "Connection and keep-alive" from response headers ? I am using Apache http server to load balance two tomcat nodes
Apache Server- Apache/2.4.2
mod_jk - 1.2.27
Apache tomcat - Apache Tomcat/7.0.23
JDK - 1.6
I have also enabled SSL in the apache http server using mod_ssl. The load balancing works fine, but in all the response headers these connection attributes are added "Connection: keep-alive keep-alive: timeout=5"
Is there a way to remove these headers? I do not want these headers to be added in the response. I have also tried mod_header to unset these headers, but no use. HTTP/1.1 protocol is being used, so eventhough the connection is not present in the header, the connection would should be considered as persistent. Why is apache sending these attributes explicitly in each response. I just want to get rid of these attribute...
View 7 Replies
View Related
Mar 2, 2008
Two of my domains experience random DNS problems; I've had frequent complaints from eastern countries (and sometimes experience the problem myself) that at seemingly random moments the domain will not resolve. For the eastern countries, this may go on for days at a time, while for myself (in the US) it's no more than an hour or two. While it may work for some, it randomly goes down for others.
View 1 Replies
View Related
May 5, 2009
Anyway I can trace down who is doing it or what is going on?
View 1 Replies
View Related