Apache :: Modified Excel File In Docroot Not Showing If Its Accessed
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
ADVERTISEMENT
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
View Related
Aug 15, 2007
I have a 2,3 and 5GB files that I need to download but everytime they appear as 1.4GB for some reason. I've tried IE, Mozilla and opera and the same result each time.
Is there some sort of limit to the size of a file that apache will serve?
View 4 Replies
View Related
Nov 25, 2007
My PHP script has an include statement. All works fine when I access the script using http. HOWEVER, when I access the exact same page using https, PHP complains that it fails to open the include file. I've checked and the include_path lists the correct dirs in both cases.
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
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
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
Aug 1, 2008
I just picked up a WiredTree VPS account, but have never really dabbled deep into server-related knowledge. I was wondering what one would do to rid of the "Great Success!
Apache is working on your cPanel® and WHM™ Server" pages when subdomains are accessed?
View 0 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
Feb 27, 2008
my server runs centos with whm/cpanel,
some folder may contain over 1000s files,
and the ftp only can show 1000s files well,
where can i large the value and let it show more?
View 7 Replies
View Related
Jan 29, 2007
I am trying to ftp some changes to my site. The strange thing is that while the FTP client (Filezilla) is accepting the new file, it will not show up on the new site. I've tried caching, refreshing browers, and rebooting but nada.
I then went back into my FTP client and checked the timestamp of the file being uploaded. For whatever reason, it will not show the most recent time of the file being uploaded, much less accept the most recent upload.
Here is a screenshot of what I mean.
View 3 Replies
View Related
Jun 30, 2009
When I download a file from my server, only specific extensions are working. This is really annoying since I want to be able to see how much time left to finish a download.
For example I uploaded a video with .vob extension
file.vob --> does not show filesize when downloading
If I rename the same file to different extension:
file.avi --> works fine shows filesize when downloading
file.mp3 --> works fine shows filesize when downloading
file.rar --> works fine shows filesize when downloading
file.mp4 --> does not show filesize when downloading
file.wmv --> does not show filesize when downloading
These are direct download links, not using any download scripts or anything. Why are some extensions displaying the filesize and some not displaying them? I am using Apache 2.x server.
View 2 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
Oct 19, 2007
php -v keep showing 4.4.7 even after i recompile apache as 5.0.4 via WHM > Apache Update. Any ideas how to fix this?
I am on the following server:
WHM 11.2.0 cPanel 11.11.0-S16999
CENTOS Enterprise 5 x86_64 - WHM X v3.1.0
./configure [@php-5.0.4]...(--enable-pic --with-libdir=lib64 --prefix=/usr --with-xml --with-mm --enable-bcmath --enable-calendar --with-curl --with-dom --with-dom-xslt --with-dom-exslt --enable-exif --with-swf=/usr/local/flash --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext --with-imap=/usr/local/imap-2004g --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --with-mhash --enable-magic-quotes --with-mm --with-mysqli --with-mysql=/usr --with-snmp --enable-ucd-snmp-hack --with-openssl --enable-discard-path --with-pear --with-pspell --enable-safe-mode --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --enable-wddx --with-xmlrpc --with-zip --with-zlib).... . . . . . . . . . . . . Done
configure: error: libXpm.(a|so) not found.
make [@php-5.0.4]...(-j 8 clean).... Done
make [@php-5.0.4]...(-j 8).... Done
make [@php-5.0.4]...(install).... Done
initfpsuexec: using apache 1.x support
PHP version file has been updated to 4.4.7
Adding cPanel default aliases ...disabled scgi-bin since suexec is installed
Done
Executing /scripts/postbuildapache (if exists)...Done
Configuring perl magic....Off
Configuring php-pear magic....Off
Configuring ruby magic....Off
Configuring php-pecl magic....Off
/etc/rc.d/init.d/httpd start: httpd started
initfpsuexec: using apache 1.x support
Attempting to restart httpd
Waiting for httpd to restart...
httpd started ok
View 2 Replies
View Related
Jan 28, 2008
Centos4/WHM/Apache 2.2.6/eaccelerator
My access_log is only showing entries like:
127.0.0.1 - - [28/Jan/2008:17:26:46 -0600] "GET / HTTP/1.0" 200 2860
127.0.0.1 - - [28/Jan/2008:17:27:30 -0600] "GET / HTTP/1.0" 200 2860
127.0.0.1 - - [28/Jan/2008:17:27:31 -0600] "GET / HTTP/1.0" 200 2860 ....
View 1 Replies
View Related
Apr 1, 2013
When I go to the [URL] ... is loads the index page just fine. When I go use the [URL] .... it still loads the index page, I don't want it to do that, I want it it to load test.php. When I click on a link (for say [URL] ....) on index.php the url stays as [URL] ....; I actually want it to show [URL] .... (while I test things at least). Is this a .htaccess issue?
View 2 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
Jun 3, 2008
I've just taken a look at the raw apache logs on my cpanel machine here:-
/usr/local/cpanel/logs/access_log
And there are many hundreds of these:-
127.0.0.1 - - [06/03/2008:21:55:22 -0000] "GET / HTTP/1." 401 0 "" ""
127.0.0.1 - - [06/03/2008:21:55:22 -0000] "GET / HTTP/1." 401 0 "" ""
127.0.0.1 - - [06/03/2008:22:03:42 -0000] "GET / HTTP/1." 401 0 "" ""
127.0.0.1 - - [06/03/2008:22:03:42 -0000] "GET / HTTP/1." 401 0 "" ""
127.0.0.1 - - [06/03/2008:22:12:02 -0000] "GET / HTTP/1." 401 0 "" ""
127.0.0.1 - - [06/03/2008:22:12:02 -0000] "GET / HTTP/1." 401 0 "" ""
127.0.0.1 - - [06/03/2008:22:20:22 -0000] "GET / HTTP/1." 401 0 "" ""
127.0.0.1 - - [06/03/2008:22:20:22 -0000] "GET / HTTP/1." 401 0 "" ""
what is happening to my server to generate these log entries?
View 4 Replies
View Related
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
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
May 3, 2013
How can i prevent error 302 in my site? for example, this [URL] .... is showing a status 200
But this same [URL] .... is showing me a status 302 (note the lack of forward slash)
Every folder in my site is showing this 302 error, so i tried to do a redirect in order to fix this, but its not working.
I think its the htaccess doing this kind of redirects in my hole site but I am new to this file, so i dont know how to fix this. Rules in my htaccess are here:
(I cant write into htaccess, but I can see the content of the file)...
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www.saludymedicinas.com.mx [NC]
RewriteRule (.*) http://www.saludymedicinas.com.mx/$1 [R=301,L]
View 1 Replies
View Related
Apr 24, 2009
We are having this problem with ecatel, as they still have not helped us after 4 days of asking to help improve on the problems we are having right now with SSH.
Problem: SSH can not be accessed. It can not be restarted in WHM. Firewall has been disabled just incase it's the one blocking it.
Retarting SSH in cPanel returns the message
Restarting SSH Daemon
Waiting for sshd to restart..............finished.
sshd (/usr/local/cpanel/whostmgr/bin/whostmgr ./ressshd) running as root with PID 6537
sshd (/usr/sbin/sshd) running as root with PID 6567
Apr 24 08:14:15 server1 sshd[5778]: Received signal 15; terminating.
sshd has failed, please contact the sysadmin.
I tried running [url]It just brought me this message
Requesting script ... Done.
Executing script ...
Attempting to locate sshd binaries installed on the system ...
Located /usr/sbin/sshd
Done.
Killing exisiting sshd processes...
Stopping sshd: [ OK ]
Done.
configuring sshd to run on port 22
/usr/sbin/sshd successfully started!
root 5778 0.0 0.0 7132 1132 ? Rs 08:00 0:00 /usr/sbin/sshd -f /var/cpanel/safe_sshd
Done.
The message says it OK. But it isn't. When I access SSH, is still not accessible. Restarting it causes the same error message as above.
I updated cPanel, software and RPMs to latest stable. I know reinstalling "forcibly" SSH rpms could help, but cPanel 11 does not have that option.
View 14 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
Oct 10, 2014
i manage linux apache webserver with a few wordpress blogs and from time to time i see someone inject a malicious .php file into wp-content/uploads/2014/10/ directory.
i think its some bad plugin or theme, but these is more blogs, i ugrade, update, WP, but
how can i setup some monitor to tell me which php file (or even line in php file) injected that malicious .php ? I have linux root access so i can setup anythingÂ
View 3 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 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
Oct 27, 2009
I have 2G access_log file everyday. And the server will freeze a while during log rotate every morning.
So I want to reduce the size of the log file. I see most of the content in the log file are .jpg, .js, .gif. And I don't these log is necessary.
Can I log only php file?
View 3 Replies
View Related
May 30, 2007
I'm trying to set up Apache on CentOS 4. I'm using Apache 2.0 and it can't seem to access anything outside of the /var/www directory - it gives an Error 403.
I thought this would be down to SELinux but this is disabled. I've run the following command on the directory but with no luck:
Code:
chown apache /home/jmaskell -R
View 7 Replies
View Related