Apache :: Modified Excel Sheet In Docroot Is Taking Time To Reflect It
Jul 7, 2014
We have many webservers in our environment, Few webservers serves static contents. In one application, we often change the excel file. Every day or 2 days once we will modified the excel sheet content. File name will be the same, only the content will be changed. We will modify the content of the sheet and upload through FTP to the docroot. After we done this if we access the application URL, its displaying the old content. Its takes time to reflect. sometime with in 3 hours sometimes after a day only reflecting. We are not sure what is the issue. we cleared the cache in browser and tried then also its showing the old content. We are using DNS,network load balancer, proxy between the browser and the webserver.
I tired accessing through FQDN, it showed old content, then i accessed through the LB IP it showed the modifed file. For testing i changed the content again and then accessed. This time even for IP it showed old content. Same i tried with the instance 1 IP and Instance 2 IP. On first time it showing properly but after i cahnged the file content and accessed it showing the old file I tried accesing from a different PC where we havent accessed before, there also it showed old content, SO i feel browser cache is not an issue.
We using Source subnet mask IP persistence in load balancer. I am not sure where the old file is cached actually. Will it be cached in Load balancer or proxy or somewhere in webserver. Just we are placing the file in docroot and accessing it in the URL
View 1 Replies
ADVERTISEMENT
Aug 7, 2014
We have few application which serve static information to the users like excel sheet.
We used to place the .xls file in the docroot and it will be accessed using URL
for example, I'll place a file named test.xls and access it through [URL]
Problem here is if i modified the file content and accesed it through [URL] , it is showing the old content. New content is not displaying.
But the same if i did with .txt file , it showing the updated content for .txt file
Dont know why only xls files are not reflecting.
View 2 Replies
View Related
Mar 17, 2008
I have a problem with time at one RHEL 4 server, it is a plain box, and from time to time the time (hours) seems to be auto modified, no one is touching the box and then from once it got modified to a few hours less than what we specified, to change time and date we always use:
Code:
date --set "2007-10-24 13:35"
hwclock --set --date="2007-10-24 13:35"
The only thing that I noted is that ntpd daemon was running, while in the rest of our plain box it is not running, maybe this is the reason the system is auto chaning the time?
View 4 Replies
View Related
Feb 27, 2014
I am on the move from Windows 2003 to SLES 11. Bit by bit I get the system up and running and to do, what my windows server is yet doing for me.I have a question about apache's default docroot. I possibly have messed up my installation in some way.
The default docroot is still /srv/www/htdocs according to webmin and yast.I have a virtual host in the directory /srv/intranet.I have installed phpMy Admin in /srv/www/htdocs/phpMyAdmin
Now. My Intranet is working fine - no problem.
Then I have managed to get php running and through doing this, I have found out, that every http request to my apache server ist redirected to my intranet. Therefore I cannot use http://server/phpmyadmin to get to the login page of phpmyadmin - this attempt results in "object not found"
To get to the bottom of it I have created another virtual host pointing directly into phpmyadmin's directory to see wether phpmyadmin ist working at all - and it does!
So I have created an info.php with the usual "phpinfo()" in it and found out, it is only accessable and working if I place it anywhere in the directory of my intranet.
If I place it in /srv/www/htdocs (where I would like it to live...) and try to access it through a browser by typing http://server/info.php it results in "object not found" I have asked Dr. Google lots of questions about it, and I came across quite a few hints and tips and followed them. But so far everything seems to be configured the right way but still apache is misbehaving...
View 2 Replies
View Related
Feb 20, 2007
the error log shows nothing out of the ordinary.. but its taking about 2-3 minutes to start.. which before it would take about 10 seconds.
load is fine on the machine, free mem is fine also.
View 2 Replies
View Related
Feb 14, 2007
For some reason, one of the servers can't connect to my mail server. Whenever a user tries to send email from that server to my server, the message won't go through and I see the following in the logs (var/log/exim/mainlog):
2007-02-13 23:56:06 SMTP connection from (***.ca) [***.***.***.***] lost while reading message data (header)
this problem occurs only with this ***.ca mail server (as far as I know).
In fact, trying dnsreport.com tool on any of my server domains, I am getting the error message
"ERROR: I could not complete a connection to any of your mailservers!
******.com: Timed out [Last data sent: RCPT TO: ]
If this is a timeout problem, note that the DNS report only waits about 40 seconds for responses, so your mail *may* work fine in this case but you will need to use testing tools specifically designed for such situations to be certain.
View 14 Replies
View Related
May 28, 2014
Apache version 2.4.7
Ubuntu Linux 14.04
BIND version 9.9.5
MySQL version 5.5.37
OpenSSH_6.6.1
Virtualmin version 4.08.gpl GPL
The premise: I am setting up a small, simple torrent tracker front end and back in (xbtit), and it comes with php scripts that should allow me to do a real easy GUI install just by accessing my sub.domain.tld.The story so far: Have a generic "hello world" index.html in my /home/domain/public_html folder, it opens up on browser. I also used virtualmin to create sub.domain.tld, and it made a folder /home/sub/ with public_html and other folders in it.
Inside of /home/sub/public_html I have all the files for xbtit torrent tracker front/back end, and the instructions say that if I now go to sub.domain.tld it will open up the visual web install. When I go to sub.domain.tld it pulls up the generic index.html page that I put in /home/domain/public_html. Why is it pulling up a file that is in an entirely different folder on my server? I'm sure there's just a small change in some configuration file that will tell the server to start reading correctly, and I have been searching, both through virtualmin settings and through online guides to find out what I need to do.
Yesterday I was getting this error, but I think that was before I realized I needed an index.html file in the public_html folder.
ERROR LOG:
H01276: Cannot serve directory /home/maindomain/public_html/: No matching DirectoryIndex (index.html,index.htm,index.php,index.php4,index.php5) found, and server-generated directory index forbidden by Options directive
--
THE PLOT THICKENS
So I just checked my logs, and something very suspicious is going on. I am not doing anything with my server at all right now except loading files to it, and yet all this stuff pops up in the log:
ACCESS LOG:
".249.76.94 - - [28/May/2014:14:10:06 -0400] "GET /hello.jsp HTTP/1.1" 404 414 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
66.249.76.94 - - [28/May/2014:14:10:06 -0400] "GET /hello HTTP/1.1" 404 409 "-" "Mozilla/5.0 (compatible; Googlebot/2.1;
[code]....
I JUST NOW REALIZED that I used to have hosting with hostgator and ran a really basic forum through my domain. It wasn't password protected and I stopped using it, and the next time I checked on it it had been taken over by spam bots. I thought nothing of it as I wasn't using the forum anymore, and I thought I cancelled my hosting subscription and it would get shut off. I just checked hhostgator though and apparently I forgot to cancel, my account has been being charged every month and is now suspended, BUT as you can see above, there's a lot of bot "cheap nikes" spam stuff showing up in my apache log.
View 1 Replies
View Related
Dec 18, 2014
I have compiled apache with below configuration
./configure --prefix=/app/apache2_4 --with-apr=/app/apache2_4/apr --with-apr-util=/app/apache2_4/apr-util --with-pcre=/app/apache2_4/pcre/ --enable-ssl --with-ssl=/usr/bin/openssl --enable-modules=all --enable-mods-shared=all --enable-proxy --enable-mime-magic --enable-rewrite --enable-speling--enable-mpms-shared
But after compilation I have added expiry,deflate headers but I am not able to see either ETAG and LAst-modified header...
View 1 Replies
View Related
Apr 8, 2008
FreeBSD 7.0
Apache 2.2
PHP5
Mysql 5.1
I have been battling this for a while. A user will setup a CMS like joomla, e107, etc and every time the CMS changes files either with user interaction on the website or the admin changing things in their cms admin web page, apache takes ownership of the files.
I have tried installing suPHP, FastCGI, and most recently suexec. I am not having any luck with this. I really don't know what I am doing with these recent additions but meanly going on suggestions. Does anyone know of a walk through to fix this permission problem? Anyone with some good advise? Surely not everyone is having to write a script to chown each user's dir and run a cronjob every 5 minutes.
View 8 Replies
View Related
Jul 5, 2008
What is the best software to use to make a page to compare hosting packages?
View 7 Replies
View Related
Feb 6, 2013
The server is going down from time to time, every 12 days or so the site hosted there is no longer accesible, everything starts with the site slowing don and down and then is not longer reachable, what we do is to request a power cycle, and with this we start all over again till next power cycle, so on so on, of course, here are my server details and more info on this:
- MySQL - 5.1.41-3ubuntu12.10
- Apache - 2.2.14-5ubuntu8.4
- PHP - 5.3.2-1ubuntu4.9
- operating system: Ubuntu Server 10.04 LTS
After some time emailing the support guys to barely check about what's going on, we received an email with a few things:
1.- found a few errors that likely would cause issues with Apache. The first error is:
[Mon Feb 04 05:03:10 2013] [error] mod_fcgid: fcgid process manager died, restarting the server and the next error is:
[Mon Feb 04 14:32:34 2013] [error] server reached MaxClients setting, consider raising the MaxClients setting ...
Both these errors seem to indicate that you have a process that is running out of control on your server. We were unable to determine what script on your site is running caused your connections to be maxed out however it does appear that before these errors were generated there was a WordPress plugin referenced in your access logs...
2.- Additionally during our review we did find that your error log for mercadodedinerousa.com is 45 GB's which is excessively large and can cause problems when Apache is trying to write a such a large file.
3.- The majority of the errors being logged are:
[Wed Feb 06 12:12:31 2013] [error] [client 200.76.90.5] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/mercadodedinerousa.com/httpdocs/index.pl, referer: [URL]
View 6 Replies
View Related
Jul 24, 2007
I've set up a subdomain on my server. And got the Apache/CentOS welcome message.
But I'm having a bit of trouble with the DocRoot. It says I should put up files in /var/www/html/ - which doesn't make sense - at least it's not working.
Other virtual servers are under /home/domain/public_html ... So I'd like it to go like that... ie /home/subdomain/public_html ...
How do I find out what is the valid DocRoot (it's set to /home/subdomain/public_html but isn't working). I tried so place it under the initial domain /home/domain/public_html/subdomain - which would allow me to acces the subdomain without making corrections to ftp users - but the files I upload just get instantly deleted.
I probably just don't know about some weird redirects or bash_profile stuff.
View 0 Replies
View Related
Apr 17, 2009
I am looking for hosting plane spreadsheet to help planing the host and manage the accounting for the hosting with chart if available with anyone if someone have manage the hosting and planing in excel
View 5 Replies
View Related
May 21, 2014
I have a customer that would like a list of their email addresses including all aliases and forwarders. Is there an option to export email addresses to CSV? I can't seem to find anything in the control panel and I dont want to copy and paste 300 addresses.
View 8 Replies
View Related
Dec 8, 2008
how would i search for any files modified between such and such date using SSH
some one seems to have downloaded some malicious codes on to some on one of my sites and the files are infected
however i have 1000's of files and some are infected wheras some hasnt so iw ant to check what files have been modified between a date range or on a particular day
using Linux with apache
View 2 Replies
View Related
Apr 23, 2008
if Web servers might prioritize servicing Regular GET or a Conditional GET.
I have seen busy servers take 9 seconds to respond with a (304 Not modified). On fast networks (LANs), the file size is no issue and, it seems that a (200 OK) with the object is downloaded faster than the (304 Not modified) response alone.
Wiseowl. Not so wise on this one.
View 0 Replies
View Related
Jul 9, 2014
The IP addresses assigned to our servers have changed so it's time to update the default SPF information contained in the DNS records for ALL of the domains hosted on our servers:
OLD
Code:
v=spf1 +ip4:173.236.23.185 +ip4:173.236.23.188/30 +a +mx -all
NEW
Code:
v=spf1 +ip4:69.160.255.188/30 +ip4:69.160.255.192 +a +mx -all
However, when we update the resource record in the DNS template and then "Apply the changes to all zones...",
Panel will apply changes from the template to all DNS zones including the customized ones. Note that user-modified records always remain intact. For example, if the template contains a new record that was already added by a customer, Panel will keep the customer's record.Click to expand...
View 1 Replies
View Related
Feb 13, 2015
I temporarily enabled and activated Plesk firewall module (which I wish I didn't the first time) and for some reason it seems to have overwritten the default iptables configuration that was set, leaving my ftp unable to be logged into. I tried to disable the firewall module and reboot the server. It didn't work.
I also noticed that it somehow seem to have changed my hostname to my previous server hostname as well
Is there any way to completely revert back to original iptables settings before enabling the Firewall module?
View 4 Replies
View Related
Mar 21, 2014
Working condition: Server 2008 R2
Server: Apache 2.4.9 (Win32-VC10) as reverse proxy - same configuration as before
Since the change to apache 2.4.9 we discover 5 log-entries for one sync-process via mobile device where before (2.4.7) there have been only 3 entries for the same sync-process with the same device. Besides this it takes a bit longer.
View 4 Replies
View Related
Mar 29, 2015
We run httpd-2.2.3 on CentOS 5.8 with caching enable. The server has been running for 4 years, but htcacheclean has never been run. The cache folder is about 10GB now (a "du" on the folder takes a very long time to complete). Should we expect any problem when running htcacheclean for a first time such as server slowing or freezing, ... Furthermore, in case of freezing, if we disable caching and restart the server, do we expect any problems? We did a few test on our test servers, and everything was fine, but our test servers do not have a large cache folder.
View 7 Replies
View Related
Jan 11, 2008
There are 2 different domains with the same IP being served by Apache. I want one of the domains to be served by lighttpd, is it possible without having to change the IP of that domain?
View 11 Replies
View Related
Mar 17, 2013
I have a tiny "webpage" in an Apache server running on my computer. I've got for it this .htaccess file: URL...I have written it by googling,.(I don't really know very much about Apache HTTPD, but my Java suite requires this stuff, so here I am). Supposedly the first paragraph is to avoid Google Chrome from caching my files and the second part (the Order sentences) are to allow anyone to view only those kinds of files (which is otherwise let them see everything but folder roots.
And here is the httpd.conf, which I've modified almost only to change the listen port, the server name, and to replace the AllowOverride None into AllowOverride All so that .htaccess is actually used (I've deleted the comments for readability).URL....
I had never heard of something similar, "I can only load one instance of each file". In explanation, the only html file there's, runs from time to time a PHP script. Let's say I run it on localhost for example. Then everything is going fine. But I open a new tab, and load the same page (while the another one is yet open), and I'll get a 412 HTTP error. Similar thing happens if I try to load the webpage from another device. And, with my little experience with Apache HTTPD, I guess it's because of this .htaccess or httpd.conf files. Why does this happen or how can I solve it (either it be or not related to one of these files, I'll do whatever is needed)?
Apache 2.2.22 which can be found [link URL....]here[/link] in Windows 8 x86.
View 6 Replies
View Related
May 1, 2013
I'm trying to improve the performance of my website and noticed that https pages take really long to load:
[URL] ....
[URL] ....
It appears this problem is caused by using https, because when I open my site without https it loads pretty quickly.
[URL] ....
From what I can see it appears that the main problem is the time to first byte, so my question is how can I reduce this?
My virtualhost for SSL is set like this:
Quote:
<VirtualHost 46.249.47.12:443>
DocumentRoot "C:Program Files (x86)Apache Software FoundationApache24htdocssite 2"
ServerName www.elitegameservers.net
ServerAlias elitegameservers.net
ErrorLog "logs/xgclan.com-error.log"
[Code] ....
I have replaced the real paths with "PATH" for security reasons. How to reduce the time to first byte in general. I tried setting up memcache to accomplish this but I didn't notice any changes...
This is my mem cache config:
Quote:
<IfModule mod_mem_cache.c>
CacheEnable mem /
MCacheSize 10000000
MCacheMaxObjectCount 100000
MCacheMinObjectSize 1
MCacheMaxObjectSize 262144
</IfModule>
Update: Just ran the openssl speed command [URL] ....
View 11 Replies
View Related
Aug 26, 2014
I have configure my Apache to create rotated logs for every periodic time. It worked fine with my local PC, but when it is being configured on to a server system, the actual error.log file is not being update, only the rotated logs are created. If i remove the Error Log command from httpd.conf for Error Log Rotation, again it works fine as usual.
View 1 Replies
View Related
May 1, 2014
On a webserver (apache, mysql, php), which values comes to your mind can have bigges impact on a website load time?
we talking about webserver which host like 100 websites, mostly a classic wordpress blog.
I have keep alive turned on. Now i want to do some test playing with various values of apache, php...
View 8 Replies
View Related
Jul 19, 2014
I'm trying to configure an custom access_log file for an custom file called "extra.php"
How I can make an log file that's log only "extra.php" ....
View 1 Replies
View Related