Apache :: Page Loads Doesn't Ask For Password Until Refresh
Oct 9, 2012
Im using apache2.2 on Ubuntu 12.04. Im trying to password protect a page using htacces and/or the directory command.
Basically no matter what method I use to try and password the index page it doesnt work. I can protect pages and dir's below, but not in the root www of a vhost.
basically:
/home/cackles/mysite with index.html and .htaccess will allow index.html to load and wont prompt for a pass until the page is refreshed.
/home/cackles/mysite/subdir will prompt for a pass before it goes any further.
I purged and started from scratch again last night and for nothing, it would seem, well I learned/refreshed a few things so it wasnt a complete bust ... just 7hrs
View 2 Replies
ADVERTISEMENT
Oct 10, 2007
I have a server running SUSE. dual quad core chips, 16 gigs of RAM.
It's a webserver only running Apache.
We have been having a problem the past few days where page loads take forever yet CPU load and RAM load are very, very low.
I've noticed when it happens when viewing HTOP that TASKS jump from about 350 average to 1000 average. Pages won't start loading until this number drops.
I see no errors in error_log or messages however restarting Apache seems to fix the issue?
I've tried messing around with KEEPALIVE settings with no help.
Any clues on where to start? Pretty lost on this one becuase I see no errors and the load both CPU and RAM are low.
View 1 Replies
View Related
Jun 21, 2014
I have a problem with my server. I am trying to make a subdomain, and it isn't working. I create it like how in all tutorials says here( click here ) . I completed all fields, but when i try to open the subdomain in a browser page, it's telling me, page not found / page doesn't exist. I have a dedicated server on window server 2008 for my website with a dedicated IP.
View 5 Replies
View Related
Aug 11, 2007
My server's experiencing very slow page loads.
I ran top and got this (screenshot attached)
Could we say that it is a bit high for one http process to use that much cpu/ram?
View 2 Replies
View Related
Apr 6, 2007
I currently have a vps server from GIGEServers, running at 512mb of dedicated and 1024mb spike it seems like apache is using alot of resources, does anyone know of a less hog, or tips on tweaking it, and the same for mysql server any tips on tweaking.
View 14 Replies
View Related
Apr 20, 2009
its 2am night here, and my sites are down....now there is no way i have too much traffic at midnight, also all my websites are new !
this is happening consistently since today morning and im getting no support apart from jargon filled replies from customer care
how do i tweak apache settings and what settings do i make to avoid this ?
im wondering what will happen after few months when my websites actually have good traffic coming in ?
We have checked your server. Please see the load average and process list given below:
The value 4.42 was the CPU load average at the time. A normal load should be below 1.00. I could see that Apache service is causing high load in your server.
So you can tweak Apache in order to reduce the CPU load. Please check and let us know if you need any further assistance.
++++++++++++++++++
[root@chi07 ~]# vzctl exec 18403 w
03:16:20 up 2 min, 0 users, load average: 4.42, 1.42, 0.50
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
View 14 Replies
View Related
Jan 13, 2015
i've migrate from plesk 11.5 (centos server) to plesk 12 (ubuntu 14). The migrate process doesn't give problems but now (and for all domains), web service doesn't work well in fact works but all domains resolve /var/www/vhosts/default/htpdocs/index.html and not /var/www/vhosts/domain/httpdocs/
The rest of services (mail, ftp...) seems to work ok. I don't know if it's important but as before migrate, we use and external DNS server so in plesk i have DNS server down.
View 1 Replies
View Related
Jan 5, 2015
I want to permanent redirect some .html page from subdomain to main domain WordPress page,Redirect permanent /cat/FSBO76.URL....
View 1 Replies
View Related
Jan 10, 2009
I am currently running a dev server out of my home. The setup is as follows:
Server is Windows Server 2008.
Apache is running, listening on port 88. On this, I have subversion and TRAC.
IIS is running, listening on default port 80. On this I have an ASP.NET web site that pulls its code from subversion.
Router is a standard Linksys WRT54G.
Router is open as can be, just to test it. Server is in DMZ, all ports are forwarded to its IP (TCP and UDP), etc. This will change, but during setup state, it is what it is.
default.aspx is set up as default document in IIS. Folders are mapped correctly. The file exists in the physical directory it's looking at.
the only site and only Application pool in IIS are for the site in question.
The issue:
Both Apache and IIS work great on my local network.
Both Apache and IIS work great on wireless network.
However, in the wild, WAN works for the apache (port 88) but not IIS. Typing in http://[ip address]:88 or any of the subdirectories works fine. Typing in http://[ip address]/default.aspx returns, in Firefox, "Connection Interrupted -- the connection to the server was reset while the page was loading".
Windows firewall is disabled and unbound from all protocols. As specified, I've opened up the server and router as much as possible temporarily in order to allow me to lock it down again step by step once I have the issue solved.
View 2 Replies
View Related
Jun 1, 2007
I am having an issue where I have a server that Directadmin is installed on. I go to the a url that is on the server and all i see is the default page of apache saying congrats, it is installed. Although there is no file like that in the public_html any longer and I can see my files in the public_html folder of that specific site.
View 6 Replies
View Related
Aug 30, 2007
This post is a repeat of a 13-month old thread [url] that had no resolution. I am hoping that someone can comment on it as I am having the same exact issue.
Environment: IIS web server running windows server 2003 (runs both production and development.
Issue: When updating the CSS and then viewing the pagein a browser, changes are NOT being reflected.
Troubleshooting: Replaced file = No changes
Emptied Cache (IE, Firefox and Netscape) with Ctrl 5, closed browser window, opened new browser widow = No changes
Emptied Cache (IE) with Tools> Internet Options >, closed browser window, opened new browser widow = No changes
Checked 2 other machines (PC and Mac) = No changes
Checked multible browsers (IE6, IE7, Safari, Firefox)
Deleted file = No changes (still renders old styles even with no stylesheet on server)
Re-starting the IIS website is obviously not suitable for development (but does work).
Our IT guy said that I had to wait two minutes between loading a file and checking the website- and that no one else could hit that page in the meanwhile. Again, obviously not suitable for development.
View 1 Replies
View Related
Feb 6, 2008
We tried to use one software for offline browsing to download our site and test it if it will fail or not. We used 500 threads at once. Program was able to request 56 pages per second. Of course server (site) failed because there were no more available mysql connections. So site went down. Mod_evasive didn't block that.
Here is the config:
<IfModule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount 2
DOSSiteCount 80
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 30
DOSLogDir "/var/log/httpd"
</IfModule>
Here is the copy of text I found on one site about mod_evasive:
Mod_evasive does work relatively well for small to medium sized brute force or HTTP level DoS attacks. There is, however, an important limitation that mod_evasive has that you should be aware of. The mod_evasive module is not as good as it could be because it does not use shared memory in Apache to keep information about previous requests persistent. Instead, the information is kept with each child process or thread. Other Apache children that are then spawned know nothing about abuse against one of them. When a child serves the maximum number of requests and dies, the DoS information goes with it. So, what does this mean? This means that if an attacker sends their HTTP DoS requests and they do not use HTTP Keep-Alives, then Apache will spawn a new child process for every request and it will never trigger the mod_evasive thresholds. This is not good…
Is there any solution for such type of attack with Keep Alive disabled?
View 4 Replies
View Related
Aug 19, 2007
I have chosen a web hosting server for my oscommerce template and I face some problems with the response time and refresh performance of the site's pages.
I am thinking of changing to Lunarpages web hosting server.
Does anybody use Lunarpages? Does it refresh fast the pages? What is its responce speed? Is it fast in general?
I access my site from Europe while my web hosting server is in the U.S. Does it have anything to do with slow response?
I look for a fast web hosting in the US.
Is anybody cooperating with lunarpages that could provide me its URL to check its site's performance?
View 2 Replies
View Related
Mar 12, 2013
I need to modify a web that is working in the server. I'd like to download it to my computer and test it. For this reason I have to change the htaccess file to change the redirects, but it doesn't work, appears 404 error
This is the code.
RewriteEngine On #rewritecond %{http_host}
^camps.es [nc] rewritecond %{http_host}
^camps [nc] #rewriterule
^(.*)$ http://www.camps.es/$1 [r=301,nc] rewriterule
^(.*)$ http://localhost:8887/camps/$1 [r=301,nc]
View 3 Replies
View Related
Oct 11, 2012
I had a problem that ip restrictions inside location didn't work. Config :
Code:
<Location /jkstatus>
JkMount status
Require ip 127.0.0.1
Require ip my_remote_netowrk_1/29
Require ip my_remote_netowrk_2/29
[Code] .....
In that case all IPs were allowed - just propted for login and password.
When i removed login/password part from location, IP restriction has start to work.
Code:
<Location /jkstatus>
JkMount status
Require ip 127.0.0.1
Require ip my_remote_netowrk_1/29
Require ip my_remote_netowrk_2/29
[Code] ....
What is wrong ? I would like to restrict access to this location for some IPs only and secure this area by password as well - even for allowed IPs.
View 3 Replies
View Related
Aug 4, 2013
I have a home server set up with a couple of things going. Here is the weird thing that I can't figure out. I can access everything just fine from an INTERNET connection external to my LAN using my domain name, let's say "domain.com". So, if I type into my computer on my LAN www.domain.com, it searches without actually finding it's destination giving up after a period of time saying the server cannot be found.
But, if I type www.domain.com on my mobile phone using my data connection, it connects without a hitch and everything functions fine. I have done this set up before at a different home, but since I moved, I have come across this problem and either don't remember having this happen before or don't remember what I did to resolve it. What I should look for?
View 5 Replies
View Related
Dec 17, 2014
I have been using IIS 7.5 on a Win7 32-bit computer. We moved to a Win7 64-bit machine and 1 app does not work. I am thinking of trying Apache 32-bit to see if that works. The script that is causing problems calls Office Word to create a document. Here is a simplified version of script.
View 3 Replies
View Related
Oct 2, 2013
Yesterday i was putting a website to manage in localhost but i had to abilitate the usage of mod_rewrite. when i'm in the index and i try to open links i have this message..The requested URL /c3click.php was not found on this server.Here are the steps that i followed:
1) Search for LoadModule ReWrite and decommenting
2) Search for Servername localhost
<Directory />
AllowOverride all
Require all granted
</Directory>
3) Search for C:/wamp/www
Options all
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride all
#
# Controls who can get stuff from this server.
#
# Require all granted
# onlineoffline tag - don't remove
Order Deny,Allow
Allow from all
Allow from 127.0.0.1
Allow from ::1
Allow from localhost
4) Reboot the server
In the beginning of my .htaccess file there's written
RewriteEngine On
RewriteBase /
Options -Multiviews
My configuration is Windows 7, Apache 2.4.4 on Wamp Server 64bit.
In the apache_error.log file i discovered this
[Wed Oct 02 10:33:47.582049 2013] [:error] [pid 2412:tid 1496] [client 127.0.0.1:50195] script 'C:/wamp/www/c3click.php' not found or unable to stat, referer: http://localhost/Lavoro/C3click/01-10-2013_Sito/
View 1 Replies
View Related
Jul 16, 2013
I have a little problem with the web sockets and my reverse proxy apache, i have upgraded in 2.2.22 and loaded the module mod_proxy_wstunnel.
View 2 Replies
View Related
Jul 31, 2013
httpd server configuring.I share my files only from local disks but some of my resources are located on truecrypt secure volume.When I want to start my server now I have to mount my all drives first to have all path active. Otherwise httpd doesn't start with 'invalid path' error.My question is, how to force httpd starting without path or drive exists checking?
Platform Windows7 x64
Apache version 2.4.3
Package Xampp
View 8 Replies
View Related
Jul 15, 2013
I'm new to Apache. I'm using a version 2.4 for Windows 7. It didn't come in as an .msi so I had to configure the appropriate web-server name via the httpd text document.
Each time I go to http://localhost, I am present with a page with the content "It works." I tried adding a different .html file into the directory to see if I could access that also, but I was not able to navigate to it via the address bar. So I edited the content of index.html from 'It works!' to "It works?!!!" but sadly, the actual page is still showing 'It works!' for its content (Rather ironic, huh?).
So, for whatever reason, the actual 'localhost' page isn't updating or even noticing any of my edits in what I presume to be the correct directory.
Here's my httpd document for referenc [URL] ....
View 7 Replies
View Related
May 7, 2015
I'm trying to accomplish a rather common task of removing file extensions, where say, instead of index.php, just index can be accessed.
I've gone through many tutorials that offer all sorts of different ways how this can be accomplished and none of it works but what's commonly given is something like this.
View 4 Replies
View Related
Jul 10, 2014
I'm testing on Windows 7 x64 SP1.
I have downloaded httpd-2.4.9-win32.zip from VC10 Win32 link which includes IPv6 Crypto apr-1.5.0 apr-util-1.5.3 apr-iconv-1.2.1 openssl-1.0.1h zlib-1.2.8 pcre-8.34 libxml2-2.9.1 lua-5.1.5 expat-2.1.0.
I unzipped and installed on my system. Configured SSL. I installed in directory C:Apache24
View 10 Replies
View Related
Jul 16, 2014
I am using apache as a reverse proxy, I have several site with http and everything is working fine. For the first time I have tried to configure with https port 443 with certificate, the problem is that it doesn't return to the browser the certificate that I have indicate in the "virtual host" but rather the default certificate of the site.
Here is my virtual host :
<VirtualHost *:443>
ServerName hygie.sante-idf.fr
SSLEngine on
SSLProtocol all
SSLCertificateFile "/root/apacherp/cert/hygiesslcertificate.cert"
SSLCACertificateFile "/root/apacherp/cert/hygieCAcertificate.cert"
SSLCertificateKeyFile "/root/apacherp/cert/hygieprivate.cert"
ProxyPass / http://XXXXXX/
ProxyPassReverse / http://XXXXXX/
</VirtualHost>
Everything is fine when I start stop, I m sure the entry is used I have added : NameVirtualHost *:443
But the Certificate information arent the one that I have enterred , but the default values I think....
httpd -v
Server version: Apache/2.2.3
Server built: Mar 4 2010 09:57:54
View 7 Replies
View Related
Jan 9, 2015
If I put in site some file with 10MB ( example ) the data statistic don't refresh to new space allocated...
Disk space stay in actual size, how to enable auto-refresh on statistics like traffic and quota space?
View 3 Replies
View Related
Dec 5, 2010
I am unable to get A username and password requested by http://127.0.0.1:8080. "Tomcat Manager Application"..I created userid and password in tomcat-users.x.
View 4 Replies
View Related
May 22, 2013
I would to use: htdigest -c filename.htpasswd Group usernamein file batch to insert a set of users with password.I can use it without having to enter the password from the keyboard?I tried echo pass| htdigest -c filename.htpasswd Group username but it does not work.
View 1 Replies
View Related
Jan 22, 2015
Is this possible to log username and password passed by GET request for basic authentication?I generate link to some part of my website by [URL] ....
It works without any problems for 90% users but some of them got information that there is password mismatch.So I would like to log all request with information about passed login and password in text plain.
View 1 Replies
View Related
Mar 10, 2014
What is the proper way. to password protect a directory for apache 2.4.7. Information i gather seems to not work.
View 4 Replies
View Related