Apache: Need Thoughts On Offloading Static Content

May 18, 2009

I'm looking for a way to get a little more mileage out of Apache + PHP environment without losing Apache capabilities. In shared hosting environments, losing features such as .htaccess and a real mod_rewrite are not even on the table. I'm also not willing to accept the performance hit and connection issues that are inherent with FastCGI, so that means mod_php.

In this particular situation, there are two busy sites, which are the problem.

These are a few ideas I've been thinking about.

1. mod_proxy + nginx: mod_proxy sends static content requests to nginx. This requires two sets of vhost files to be maintained.

2. mod_cache: Caching common static content such as page graphics .css, .js, etc.

3. squid

If you've been down 2 or more of these roads, I could benefit from your experience.

View 10 Replies


ADVERTISEMENT

Nginx As Apache Proxy For Static Content -- Configuration

Nov 23, 2007

I am a non-tech person trying to configure Nginx to serve static content (apache will remain on port 80 for the dynamic stuff).

Nginx is already installed, what I need is a workable configuration file for nginx so that it serves all static stuff (images and a few folders with static html) and instructions in how to create it. The server is running DirectAdmin panel, Apache 2.24, PHP 5.23 and XCache 1.2.

View 12 Replies View Related

Totally Static HTML Content Hosting

Oct 7, 2009

I'm configuring an VPS that's going to serve all static stuff and absolutely no dynamic scripts at all.

What could be the bottle necks with all these static content websites? Can a 256MB VPS handle a static website receiving millions of page views a month?

View 1 Replies View Related

Problem Serving Gzipped Static Content

Nov 21, 2007

I'm trying to serve as much gzipped content as possible on my web site. I will gzip dynamic pages on the fly using PHP, and I plan to gzip static content just one time, not to use much CPU, and serve css.gz, .js.gz files, etc... So, I uploaded a test.html file and a .css file that changes the color of the text to red. I gzipped the css file:

%gzip style.css

I also uploaded an .htaccess file with this content:

RewriteEngine on
RewriteBase /gzip/
RewriteCond %{HTTP_ACCEPT_ENCODING} gzip
RewriteRule ^(([^.]+.)+)css$ /$1css.gz

For now I'm not going to include any gunzipped style sheet, just to make sure my browser picks the gzipped style sheet. I also uploaded a phpinfo.php file to make sure I have mod_gzip. So, here's the list of files I have:

- .htaccess
- style.css.gz
- test.html
- phpinfo.php

But when I open the test.html file: [url] the style sheet isn't applied. If I upload a regular style.css file, it works fine. It seems the Rewrite rules aren't taken into account. Do you know how I could server the gzipped style sheet instead?

View 4 Replies View Related

Apache :: How To Setup 2.4 Ssl Offloading With Jboss 7.1

Jun 10, 2015

I am using Apache 2.4 and Jboss 7.1 on Windows server 2012 server. requirement is to have SSL offload in place for communication between Apache to Jboss. Apache will be secured to handle client requests from Apache onwards all servers in trusted zone hence there is offload requirement.

View 6 Replies View Related

Need Dedicated Servers (Download Static Content) 1and1, GoDaddy, ...

May 15, 2008

Ok, I'm a few lost about which dedicated server to choose.

First, I need 2 dedicated servers. These servers are only to download static content.

Downloadable files are small (50-400k).

I'll use lightweight server.

If there are too many user, I'll buy another server.

I search for excellent uptime, US server and fast download server.

I've visited some popular web hosting but if you know better, lets me know

1and1
Price (Root Server): $99
CPU: Single Core AMD Athlon 64 3500+ 2.2 GHz
RAM: 1 GB
HD: 2 x 160 GB
Bandwidth: 2,000 GB
Bandwidth Cap: 100 Mbps

GoDaddy
Price: $68
CPU: Celeron 2.0GHz
RAM: 1GB
HD: 1 x 120GB
Bandwidth: 500GB
Bandwidth Cap: 10-20 Mbps

Also, the price between 1and1 and GoDaddy is $31 but 1and1 give more on cpu, hd, bandwidth(4x), connection...

One of my question is 1and1 offers a average price for dedicated server or GoDaddy spends a part of money with Amanda, Candice and Danica?

Do you have some suggestion for dedicated server or web hosting?

View 8 Replies View Related

Apache :: Redirect Dynamic URL To Static URL

Nov 14, 2013

I transferred my WordPress site to static HTML website, but some other website have a link to my old WordPress site URL....

I want to redirect all traffic from that URL to new URL which is URL...., but my redirect in .htaccess file doesn't work (Redirect 301 /?page_id=1234 URL... because of the query string."mod_rewrite" to create the right code in .htaccess file.

View 1 Replies View Related

Apache :: Web Content Filtering In Proxy Server

Sep 20, 2014

I am using a Windows 7 and the proxy server is working fine. However, I need to run a web content filtering on the server. This should be able to replace or change specific words or phrases from an incoming html and deliver it to the client. I have searched the internet for days for a working configuration but none of them worked. Here is the current configuration I added on the httpd.conf file:

<IfModule mod_ext_filter.c>
ExtFilterDefine add-tm mode=output intype=text/html/php cmd="Apache/bin/GnuWin32/bin 's/Company1/MyCompany1/g'"
SetOutputFilter add-tm
</IfModule>

<Location "/web/">
SetOutputFilter add-tm
OutputSed "s/Company1/MyCompany1/g"
</Location>

I have also uncommented these modules:

LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule filter_module modules/mod_filter.so
LoadModule headers_module modules/mod_headers.so

View 1 Replies View Related

Apache :: Setup Dynamic Content Configuration - Correct Headers

Aug 28, 2014

I am trying to setup dynamic content configuration in apache 2.2 httpd conf. Here is the configuration and couple test cases:

CONF:
<FilesMatch ".(js|css|gif|jpg|jpeg|png)$">
Header set Cache-Control "no-cache, no-store, max-age=0, must-revalidate"
</FilesMatch>

TEST 1:
Without <FilesMatch> directive, the headers are set to all requested content as it should. This includes content served from apache server and content from a separate application server.

TEST 2:
If I use the above configuration example, I can see that static content comes with correct headers only

View 1 Replies View Related

LiquidWeb Thoughts?

May 6, 2009

I was wondering what people thought of Liquid Web, my friend has his site (twivo.com) with Liquid Web and says they are absolutely amazing. But I want to know what other people think of them.

View 14 Replies View Related

Thoughts On Amazon AWS

May 8, 2008

Are the amazon's EC2/S3 solutions a viable alternative to dedicated hosting? The thought of capacity/bandwidth/computing power on demand sounds great in theory. Could it host a basic LAMP setup?

If you've done any research in this area i'd love to hear your thoughts. Are they apples and oranges?

View 4 Replies View Related

1and1.co.uk - Your Thoughts And Experiences?

Aug 29, 2006

Hope this is the right place for this question. I'm interested in hosting with 1and1.co.uk as they are good value and allow multiple domains to be hosted (incidentally, will nosy people be able to figure that the different domains are hosted on the same package?).

Just wanted to hear your thoughts and experiences? It seems cheaper to host on their American site compared to the British site. Am I allowed to do that?

View 8 Replies View Related

Zayo Bandwidth Thoughts?

May 2, 2009

Anyone use Zayo bandwidth?

How do you rate them?

If you had to choose between Cogent and Zayo, who would you go with?

We are planning to get transit from another carrier and someone recommended Zayo, so just want to hear your thoughts.

View 14 Replies View Related

Wiredtree First Thoughts Review

Feb 3, 2009

I was having problems with shared hosting so I'm having a crack with a VPS from wiredtree. I have been with them 3days so thought I'd post up an early review on my first thoughts then update 3months on, 6months and 12months.

I'm new to the VPS world and have never had any experience with server management/functions other than with-in cpanel so you could say I'm a total noob, so this is coming from a newbie perspective. Ok so here goes for the pros/cons so far.

Pros:

- The set-up was fast once sorted (see the first con).

- The payment system and ordering process was easy to follow.

- The support is very fast helpful and understanding (this is for their online support not phoned them yet).

- The start-up e-mail is useful and gives clear direct instructions.

- The prices are fair and in-line with the market.

- Their 'Grove' control panel is clean and clear and gives you access to vital functions and information, such as DNS, server stats, billing and support.
Cons:

- When I set-up my account they didn't ring to confirm I had to chase them to get it sorted but once it was confirmed my server was up in under 1 hour.

- On their bottom package they give 348mb ram which before you put anything else on the server over 60% of this is used by other functions/softwares. Of course these things can be turned on/off when needed but I feel this should be mentioned at sign-up so people can understand and plan what they are going to need.

- Their knowledgebase has so far failed me as the issues I have had (mostly due to being a noob) are not listed on it and there are no other way other than submitting a ticket to find out about the small easy to solve problems, but their support is fast so no biggy.

Overall its not been a bad start It has had some floors but I'm happy and things are running smoothly.

Like I said these are only first thoughts on the service and I will update at later dates to give a clear picture on their service.

View 14 Replies View Related

My Thoughts About Hacking... [Part 1]

Jul 8, 2008

Is security really that critical? If so, why are some of the largest software companies providing such a bad example for the rest of the industry? Why would someone want to target my website? Why is security often overlooked?

These are all common questions that arise on a daily basis within the online industry.

The rest of this article will provide some detailed answers, along with practical examples and true scenarios.

I've spoken with numerous hackers over the past short while. I can't count the number of times I've heard the line "Ignorant site owners deserve to be hacked". In my opinion, that's like claiming that cars without alarms deserve to be stolen, or homes without alarm systems deserve to be burglarized. It's not just wrong - it's illegal.

Security risks and vulnerabilities affect the entire online industry. When a single website is hacked, there are usually multiple other victims. This is most commonly seen with widely distributed software. A potential attacker has the ability to install the software on a test environment, locate the vulnerabilities, then attack random victims even before anyone else is aware of the potential exploits. Once a vulnerability is located, the attacker simply needs to search for other environments using the same software, and within minutes there are hundreds, often thousands of potential victims.

Typically, in the race to market, software providers are encouraged to release their products as soon as the applications are usable. Critical development procedures are often overlooked or intentionally bypassed. One such miss is an application vulnerability assessment. Although the product may be usable, the effects of a vulnerable application could be severe.

Sadly, nobody is "off limits" when it comes to hacking. Most hackers feel safe committing online crime, since the online industry has evolved much faster than the security industry. Many applications are not created with the intent to recognize hacking attempts. Some hackers view their actions as a competition - Who can attack the most valuable website? Who can exploit the most user databases? In many cases, these attacks are bragged about within the hacker's immediate network. The competitive nature of these hacking groups has become so severe, there have been reports of attacks between competing organizations.

You might ask, "If I use industry standards, won't my environment be secure?". The short answer: no, but it helps. Hackers are not restricted by industry standards. Most security companies only implement new standards once at least one victim is reported. This often gives hackers plenty of time to locate other vulnerable environments, and before long, the number of victims can increase rapidly. Hackers are some of the most innovative individuals within the online industry. The most logical way to combat them is to use similar methodology for security purposes.

View 2 Replies View Related

UltraHosting.com Your Thoughts And Reviews

Mar 10, 2008

What are your thoughts of Ultrahosting.com, I didn't find may reviews here on WHT.

I talked with the sales rep. and he said they host people such as: Mazda, Chrysler and Xerox.

Here's some info he gave on their server:

Quote:
Paresh: to provide some way of background...Ultrahosting is part of our parent company Momentum
Paresh: Momentum handles Managed Service Operations for Enterprise level customers
Paresh: Ultrahosting sits in the same data center as these clients

View 3 Replies View Related

Thoughts On OctaGate Switch

Sep 29, 2007

Anyone ever heard of OctaGate Switch ? Any comments, reviews, feedback?

Any good alternatives to this product?

View 0 Replies View Related

Moving From Rackspace? Thoughts On New Providers...?

Apr 14, 2008

We run our site from a dedicated server at Rackspace and have done for 6 years now. Whilst i'm very happy with the level of service provided we're starting to consider small cost savings by moving to other providers.

We did select LiquidWeb and have attempts a couple of moves to the new server but so far without success (most recent being yesterday with 12 hours of frustration!). A lot of the problems seem to be down to cPanel/WHM being a lot more "locked down" than were were used to with Webmin (that runs on Rackspace servers) and being somewhat unfamiliar with cPanel/WHM.

We have asked advice from LiquidWeb support and whilst they seem to be reasonable in responding, i've yet to feel the "heroic" aspect although this might just be due to being spoilt at Rackspace for many years. Support responses tend to be quite "rushed" and do the minimum asked for rather than going that extra "mile" which was seemingly indicated during the sales cycle.

My question is this - do people have thoughts on potential other fully managed providers? Should we even be looking for a new provider?


Specs looking for:

- Fully Managed
- Dual Xeon Quad Core
- 2GB RAM
- 2 x 73GB SCSI RAID
- Some form of Remote Backup
- Linux

We're currently paying about $850 for the server at Rackspace which has the following specs:

- Single AMD Opteron 246 2.0 GHz
- 2GB RAM
- 2 x 73GB SCSI RAID
- Managed Backup
- RHEL4
- Webmin

View 14 Replies View Related

SolarVPS Issues Public Thoughts

Jun 18, 2008

I regret to bring this to a public forum but having seen that solarvps has a presence here I am hoping that a resolve to this issue can be found, and any public opinions are welcomed.

Having been a customer with solarvps since 2006 without any cause for concerns it does not make me happy with some recent issues I have had with them. So I have had a vps server hosted with them since 2006. Sometime in February when attempting to login to my VPS I got an error, I left it as this happens sometimes, it happened for 4 days in a row so I thought this is a little strange logged in to my control panel, to see no VPS server was listed under the account. There was no invoice generated either. Ok this is strange but I just assumed it had been terminated, no invoice came through and that particular server was a backup server so I sought hosting elsewhere.

4 months pass I get an email from solarvps stating my account is overdue with charges applied. I contact them back straight away asking what they are billing me for I have explained the situation time and again to them, I have asked the questions why the server disappeared from my account, why I wasn’t able to access the vps remotely and why no invoices got generated at the time to which I have had no response, I have asked more than 5 times now. The only response I keep getting form them is threats if I do not pay to hand over to a collection agency and the possibility of legal action. To which I have replied each time that I will contest any such action and seek legal advice myself.

Granted I should probably have contacted them at the time but really they are at fault more than I am for not asking them what has happened, I truly believe I am not in the wrong here but nobody within solarvps is prepared is looking at the facts of what has happened here.

Well anyway I hope bringing this to a public forum will bring a resolve and maybe some answers. I am getting no response from anybody within solarvps and would be happy to take this away from the public if they are willing.

I am not unfair nor does it make sense that a customer for so long would just decide not to pay you one month and kick up a fuss over such a small amount of money but the fact that I am not in the wrong with this matter, I am not prepared to pay them no matter how much bullying tactics they wish to adopt in trying to make me.

View 14 Replies View Related

Thoughts About Fdcservers.net Colocation Or Dedi?

Apr 29, 2009

I used to have FDC a while ago, and i want to get your thoughts about fdcservers.net Colocation or dedi?

View 2 Replies View Related

ResellerZoom & Servint Reviews - My Thoughts

Sep 11, 2008

I had them for about 6 months and it was great until some time in the middle of May I got an email from them saying "my website is overloading/overlimits and even small dedicated sever wont handle the load" I had "Failover Reseller Plans" which allows 10,000MB space & 200GB bandwidth. The only script my website had at the time was a phpBB forum. My forum got about 2-3 posts per day with an average of 300 users per day. How could it cause overloading/overlimits ? Their "abuse team" wasn't very helpful at all! I got fed up with it and moved my site to a new webhost => servint

However, their support team was amazing. They replied to my tickets very fast. They were always online even at 3 or 4 am !! And most of the time they were very helpful and wouldhelp you with anything.

Would I go back to them again? i'm not sure ...maybe or maybe not

Servint
So I moved everything to Servint VPS after this whole incident. I really have no word to say about Servint except that they're AWESOME! I really like them & their support team. I had them for about 4 months and no complaints about them. However due to my financial prob (spend all my $ on gas & rising cost of everything) I had to downgrade to a reseller account instead

Now I'm moving to Hostgator.

I'll give you all my reviews in a few months...

View 9 Replies View Related

.ASP (STATIC)

Oct 29, 2007

Another similar kind of question

I want to run .asp pages on a windows server where i am currently running .HTML files (STATIC without any script or database). I want convert those .html pages to .asp (without any scripts).


So WHAT DO YOU THINK, that .html (static) should work exactly same like .asp (Static) ? Suppose .html pages DO NOT CREATE any issue with IIS load , so using same (basic html code) in .asp would create any issue with APPLICATION POOL (IIS)?

View 3 Replies View Related

How To Get A Static IP Address

Jun 12, 2008

I just discovered that my Internet provider only provides me with a dynamic IP address because its not commercial!

Is there any way or workaround to sign up for a static ip on the web?

View 14 Replies View Related

Static IP: Best Service And How To Use

Oct 18, 2007

My ISP here in the UK does not provide static ip addresses. I'd like to be able to set my server to only accept root access attempts from a set IP.

I am aware of how to set this up on my server, but not on my own machine.

I'd appreciate if anyone recommend the best service to use when seeking a static IP address and also point me in the right direction of documentation that explains how to utilise this IP (connect through it so when connecting to my server it sees the static IP and not my dynamic ISP IP).

I've had a search on WHT and Google but most of the documentation I've encountered is for people who want to run a web server from their home machine and so want a static IP for incoming connections.

I am using a windows machine (xp pro).

View 3 Replies View Related

Forward Domain To Static IP

Jul 2, 2006

i have a domain hosted at eNom which i would like to point to my FTP server which is running on my box at home. I have a static IP, and BulletProof FTP server installed. Now im just unclear how i can have www.mydomain.com point to 212.12.34.56:21.

View 3 Replies View Related

Static File Hosting

Apr 4, 2009

I currently have an existing web hosting package with a web host. However, I need to supplement that with a file hosting service for my users.

I'm estimating that I will need about 2Gb disk space, and approximately 30~40Gb of traffic monthly. This will just be plain static file hosting. I don't need any scripts, databases, etc.

View 11 Replies View Related

Need To Create A Static Route

Apr 9, 2007

Recently two servers of mine have stopped communicating with each other and I've been told to create a static route between the two, I am using CentOS 4.4 and not sure what the exact syntax would be

I also have the gateway IP which would be needed.

View 1 Replies View Related

10 Second Lag Serving Static HTML

Mar 21, 2007

this isn't my server, so I don't have a lot of information about it, other than it's a Linux/Apache Dedicated server at EV1. (cPanel/WHM)

There are other sites on the server, and they are running fine.

One site has a terrible lag. It takes about 10 seconds to serve up a static HTML file..

Now, it's not like the server is slow. It's like this: You request a small HTML file. The site sits and thinks about it for about 10 seconds, and then after that everything processes quickly.

The forum on the site is the same way. Everything you click on works fine and loads quickly after that initial delay passes.

Is there a common configuration problem that might be causing this?

If you want to see this phenomenon, here are a few test files:
[url]
[url]
[url]
[url]

View 7 Replies View Related

Static IP Provider And Best Prices

Jan 5, 2007

Is there a difference between static IP's and dedicated IP addresses?

Also I'm in the Atlanta GA region, does anyone have any reccomendations on a bandwidth provider and avarage cost of static IP's?

View 6 Replies View Related

Static Routes Questions

May 18, 2007

I have a small network at my colo provider.

Colo Provider
|
My HP 2650
| |
server1 serverN

I want to setup static routes on my servers so that my colo provider won't bill me for traffic among my servers.

I use FreeBSD 6 on my servers. I read the FreeBSD handbook on this and it looks like i should do this:

route add -net 0.0.0/24 0.0.0.3

where 0.0.0/24 is the C class I have from my provider and 0.0.0.3 is the IP address of my server (one of them/any of them).

However, this route appears to already exist as i get this error when running that route command:

route: writing to routing socket: File exists
add net 0.0.0: gateway 0.0.0.3: route already in table

Do I need to use a non-routeable ip block (eg 192.168.x.x) for this? Can I use "real"/routeable ips? Does FreeBSD take care of this for me automatically?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved