The'v changed their homepage design and this time I personally think that the old design was a bit better than the new one,This one might work In terms of performance but I personally think that the new design might not work out pretty well.
As many of you may know mod_cache does not cache directory index files, this can be fixed with mod_rewrite but the index page of the domain (the homepage) seems to be impossible to cache it. The following rules cache the folders but not the homedir (this means that www.thedomain.com/folder is cached but www.thedomain.com is not): DirectorySlash Off RewriteEngine On RewriteCond %{REQUEST_URI} ([^.*]) RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_URI}/index.htm" -f RewriteRule "^(.*)$" "$1/index.htm" [NC,L] RewriteCond %{REQUEST_URI} ^([^.*])$ RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_URI}/index.html" -f RewriteRule "^(.*)$" "$1/index.html" [NC,L] RewriteCond %{REQUEST_URI} ^([^.*])$ RewriteCond "%{DOCUMENT_ROOT}%{REQUEST_URI}/index.php" -f RewriteRule "^(.*)$" "$1/index.php" [NC,L]
Note that DirectorySlash should be off (or mod_dir not loaded) in order to work also with URL that end with no slash
As I said before this will work for any folder but it does not work for public homedir directory. So when a user visit [url] it does not work (unless you type the name of the index file: [url]
For me it is critical to make this work in someway, the index homepage is the main page that needs to be cached in my case (and in many others).
Do you know any solution for this? I found the first message about this in the Internet in 2002 but I'm using last version of apache httpd and still does not work.
If you have no idea about how to fix it, maybe you know some other easy alternative. Lighttpd + mod_cache + mod_deflate are not compatible: "mod_cache can be used in conjunction with other lighttpd plugins (except mod_deflate and mod_secdownload)"
I've got a VPS with XenSmart, and I'm running CentOS. Recently, I have been needing to redirect my users to 'www.', since if they don't put the 'www.' in front of the domain the vB forum doesn't run properly. Though, to do this, I edited the .htaccess file and was using the 'mod_rewrite' command, but this requires Apache.
So, on my VPS I've installed Apache, and set LXAdmin to use 'httpd' instead of 'lighttpd', though now my web pages wont show up and all I've got is the default Apache web page:
[url]
How am I able to use Apache (HTTPD) and have it load my current forum? My current forums hosted in:
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.
Right now my stats system only shows from what website traffic is coming. I have google analytics aswell, and with all its functions, it does not tell me from exactly what webpage traffic is coming, and to what webpage the traffic is coming to.
So, let say someone is sending me traffic from www.reffererxxx.com/cool_video.html to www.mysite.com/super_cool_video.html
My statistics would only show that www.reffererxxx.com is sending traffic to www.mysite.com
Is there a way(a script/service/program) to find out exactly from what webpage the traffic is coming, and to what webpage of mine the traffic is going to? (I do not have server logs / webalizer / awstats as my server cannot handle the log processing due to high server loads)
My Server is up and running CentOS 4.6 w/ cPanel. All appears to be functioning correctly. My office has 1 dedicated IP. I currently have a wireless linksys router setup and I have given the server a dedicated lan ip address (192.168.1.70) which is outside the dhcp ip range.
Now, my resolv.conf file consists of the DNS servers of my webhost.
My ifcfg-eth0 file looks like this: DEVICE=eth0 BOOTPROTO=static BROADCAST=192.168.1.255 HWADDR=00:11:2F:FB:2C:02 IPADDR=192.168.1.70 NETMASK=255.255.255.0 NETWORK=192.168.1.0 ONBOOT=yes TYPE=Ethernet
Now, when I attempt to view a website I add via WHM I always end up @ the GREAT SUCCESS cPanel page.
I think my problems boil down to the IP issue. I have tried to change the IPADDR in the ifcfg-eth0 file to the WAN dedicated IP and everything stops working.
Within cPanel it shows the MAIN SHARED IP ADDRESS is the 192.168.1.70. So, within the IP POOL I added the WAN IP address and rebuilt it. Then I created a new reseller user and changed the MAIN SHARED IP to the WAN IP.
A domain was working fine and now suddenly it is showing cpanel's default green page. It worked fine for 2 weeks. I deleted / re-added the dns zone, same problem. What would cause this?
When I add a new site via New Account in WHM and once the domain resolves, the cPanel 'Great Success' page shows. I have verified the site is resolving properly.
This is a brand new installation and the only changes I have made is I updated apache via WHM.