IIS + ISAPI Rewrites Enabled Globally = Degraded Performance

May 1, 2007

I am talking like a few thousand sites per server (actually a pair that act as a unified server, routing for load balancing). In a muli-thousand site IIS server, will having ISAPI Rewrites enables for ALL of the IIS virtual sites cause performance to degrade?

View 1 Replies


ADVERTISEMENT

Apache :: Myspace Style Profile Name Mod Rewrites?

Jun 22, 2011

How do you do Myspace Style Profile Name Mod Rewrites?

I have Mod-rewrite code turned on for Friendly URLS in options.

But for member profiles in .htaccess. I want it to look like this:

[URL]...

Instead of this:[URL]...

This way members can link friends to their profile easier. 

View 3 Replies View Related

Java: Possible To Set Max. Memory Globally

Aug 18, 2008

In some VPS environments there is not enough memory available to run java, and the usual error occurs, ie:

# java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

So in the command line we force the maximum memory allowed for java:

# java -Xmx128 -version
java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Server VM (build 1.5.0_14-b03, mixed mode)

Now my current problem is that there are some scripts/other applications I am running that don't seem to have a single easy area to declare the max. memory that java can use, so my question obviously is, is there any option or java configuration file where maximum memory available to java can be set globally? I've done a lot of searching and am still unable to find an answer to this.

View 0 Replies View Related

Wierd Htaccess Url Rewrite- Rewrites All Index Files

Apr 19, 2008

I have worked with mod_rewrite for years and never encountered this problem. I am converting html pages to a single php file and it works perfectly. I used htaccess the rewrite the urls to appear the same so that no links would be broken or lose SEO value.

The only problem is that my friend who also helped build the sites added different directories and within those directories are index.htm files that serve as a home page for the separate directory. Like /info/index.htm and /help/index.htm within the root directory. The problem is that for some reason my mod_rewrite directs to the main index.htm rewrite even if I include the whole path to the file. In htaccess I have this so far:

RewriteEngine on

RewriteRule index.htm$ index.php [L]
RewriteRule servers.htm$ index.php?action=servers [L]
RewriteRule movies.htm$ index.php?action=movies [L]
However there is a directory named "info" and inside that directory it has an index.htm file and it seems to conflict with my first mod_rewrite. I tried using:

RewriteRule /info/index.htm$ index.php?action=info [L]
and used other methods but none seem to work any ideas?

View 1 Replies View Related

Globally Disable Direcory Browsing On WHM Server

May 19, 2008

is there an option to disable directory browsing (browsing a directory without an index file) in WHM? I have seen a way to do it via .htaccess but this would not be possible as there are over 100 sites on the server...

View 8 Replies View Related

Windows Hosting With Isapi

Sep 19, 2007

relatively typical windows shared hosting plan that has the isapi rewrite installed.

Is godaddy's windows hosting any good?

View 3 Replies View Related

Selling Your IT Department On ISAPI

Oct 2, 2007

I update the corporate website for my company. Our server is IIS and when I need a 301, I have to send a request to IT to do it, as our pages are static .html and .shtml (SSI) and using javascript redirects is not ideal for SEO.

A redesign we're going to be deploying, will include the shuffling of several pages/directories and redirecting of quite a few URL's. This fact alone seems to provide a good argument convincing IT that this is a good idea. From what I've read here and elsewhere, heliontech's solution seems to be the way to go.

Since this is 3rd party, I'm looking to have further leverage to explain my case on behalf of using this. Are there benchmarks and data that support the reliability of this method versus the straight MS stuff?

Also, I'm not real tech savvy on the server end, but I was told that our corporate site and application sites may reside on the same box and that applying the ISAPI rewrite would affect those as well. This would obviously make it a "no sell" with my IT colleagues.

Would sites residing on the same server be globally affected by the ISAPI? If so, is there a way to circumvent this and just set the ISAPI for the one site?

View 3 Replies View Related

IIS & ISAPI Redirects...anything Faster Than The GUI

Apr 10, 2007

So I have been reduced, I am a firm *nix Apache user, to using IIS along with ISAPI for redirection at work. Now I can setup the redirection(s) just fine using the GUI, but I am a *nix man and doing this through the GUI is SLOW! That is when it has to be done on 3 servers at a time plus I can only access those servers through a Citrix environment.

And I need to be adding redirects many times a week. Is there any way to setup ISAPI redirects from a command line? Google has offered me nothing.

View 2 Replies View Related

Apache :: ISAPI DLL Crashing

Jan 29, 2013

i have custom dll built with Delphi that used to work on IIS 5/6/7. After i migrated to apache, DLL started to crash after an hour or two and i have to restart the server. The error was something about bad header. Since the developer says DLL is handling reponses OK and i can't get anything with debug logging on apache side can i run DLL as CFG/FastCGI (not that versed with apache so maybe this question does not make sense)?

View 4 Replies View Related

Isapi Rewrite For Expression Engine

Oct 3, 2008

have to say the EE forums have been a help to some extent.

I'm trying to rid my Expression Engine site of the index.php? part in my URLs using ISAPI REWRITE on IIS.

I've got [ISAPI_Rewrite]
RewriteRule (/(?:site|member|search|Pd{1,8}).*) /index.php?$1 [I,L]

which removes the index.php but not the? part.

View 2 Replies View Related

ISAPI Rewrite Filter - Alternatives To RewriteMap

May 14, 2009

we're using IIS 5.0 which doesn't have any flexible support for rewriting URLs which include parameters (AFAIK, anyway). We're currently testing an ISAPI Rewrite Plugin, which emulates the syntax and behaviour of mod_rewrite, which is why I felt this forum category to be the most appropriate for this post.

Our URLs at the moment look like:-

[url]where 'hg' is an instance of a key. In this particular example, we wish to rewrite our URL to read [url]homegarden' where 'homegarden' is a value of that respective key.

Since the value 'homegarden' isn't present in our current URL, we need some way to associate this value with it's relevant key, by mapping one to another. The ideal solution in this case would be to use RewriteMap, however the ISAPI plugin doesn't support this directive.

One other solution, that I've seen here is to use the 'homegarden' value as the key instead. However, due to the lack of flexibility of our system, this isn't possible.

Another method of achieving this is to hard-code a RewriteRule for every instance of a key, but this solution has obvious performance drawbacks (we have around 400 categories)

So, at the moment I'm out of ideas, which is why I thought I'd try and rack your brains for suggestions. An ideal scenario would be to use something like RewriteCond (which is supported by the plugin) to attach a file which would contain the key/value map.

The current supported directives are :-

RewriteRule
RedirectRule
RewriteHeader
RewriteCond
RewriteLog
RewriteLogLevel
RewriteFilterPriority
IterationLimit
MaxMatchCount
StrictParsing

Even if it's not possible using one of the above, maybe someone can point me to solution involving a method other than using this particular plugin?

View 6 Replies View Related

ASP.net 3.5 / ISAPI-Rewrite / MsSQL Shared Hosting

Mar 19, 2008

Since about 2002 I have constantly had my own co-located and then dedicated box. Before that, the only paid host I ever used was verio.net. Now that I sold off most of my sites, it is time to move to a smaller, shared hosting plan.

My question is can anyone suggest a good hosting plan? I do not need a lot of space or bandwidth, but I do require a few things:

- ASP.net 3.5 is a huge plus, but 2.0 is do-able

- At least one msSQL database

- Daily backups is also a huge plus. I don't need this second, but eventually I will want it.

- Good technical support is a must. I have dealt with to many companies even with my dedicated hosting that offered horrible tech support. A three day wait on a question is not acceptable. Phone support is a plus, but a 24 hour reply on an email is enough.

- ISAPI-Rewrite, or an equivalent is a must. I rewrite my URL's for SE rankings, as I believe everyone should, so the ability to host a rewrite script is a must. Though I use ISAPI-Rewrite, if their is an equivalent that is do-able.

- Need to be able to run at least (2) domains. My main company domain and then a second domain which is basically a landing page. In future I need a 3rd domain added, so ability to upgrade or add on a domain cheaply is a must too.

If you own a hosting company that matches this, or can suggest any please do so. If you suggest and they offer a referral program feel free to let me know your referral code as you obviously deserve the credit for suggesting the company.

View 9 Replies View Related

IIS Isapi Dll Connection Reset - Recyclying Pools

Nov 10, 2008

I'm using IIS 6.0 and an isapi dll created in Delphi, and I'm getting an error which I cannot understand.

At some point when I make a request for this file I get an error in Firefox ("The connection to the server was reset while the page was loading"). At the same time http error log is full of "Connection_Abandoned_By_AppPool" messages. After this happens, there is almost nothing I can do - I tried recycling the application pool, then I tried restarting the IIS server, and finally I reset the computer - NONE of this helped.

The only thing that resolves the issue is to recompile the dll and replace it (the source is absolutely the same). After that everything works fine.

I have a separate App pool for this dll (not executing in DefaultAppPool). At first, I thought that the problem lies in "Rapid fail protection" so I have disabled it, but the problem hapenned again.

The biggest issue is that this problem hapenned exactly 4 times in two months. It's very rare, and very hard to debug.

Finally, I have discovered on thing that could lead to the solution (with somebody's help :-)). I have enabled recycling for this pool every 2 hours. Looking at the event log in windows, I have found out that the problem always occured after the pool was recycled. So, each time this problem hapenned I have this logged in Event log as an information message:

"A worker process with process id of '2312' serving application pool 'PromjenePool' has requested a recycle because the worker process reached its allowed processing time limit. ".

After that, in my log there is a series (hundreds, thousands) of error messages, two or three in a second, first of them coming just a few seconds after information about recycling. The warning messages are like this:

"A process serving application pool 'PromjenePool' terminated unexpectedly. The process id was '2604'. The process exit code was '0x1'. "

The first thing that my dll does is that it logs that it has been initalized to a log file. After this happens, there is no trace of initialization in my log file. So, probably dll is never loaded, or it crashes when it tries to open the file.

So, to resume, I have recycle periods of 120 mins, and about 300-400 recycles happen without any problem. After one recycle, I just keep getting error "The connection to the server was reset while the page was loading", httperr log contains loads of ""Connection_Abandoned_By_AppPool" messages, and event log is logging that process serving my pool is terminating unexpectedly. The most bizzare thing is that recycling the dll, restarting iis or computer won't help, the only thing that surely helps is to recompile the dll (same source).

Just to add - if it can help - all dll is basically doing is connecting via TCP sockets to a data feed, constantly reads data and publishes it through dll. There is no connection to database, just sockets and appending messages to local file.

View 0 Replies View Related

JaguarPC Performance VS. LiquidWeb Performance

Jul 13, 2007

I am using dreamhost host 3 of my web sites and 1 blog. Dreamhost is great, offers alot space and bandwidth.

but I think they are oversellling their space, sometimes it gets really slow. (overselling ? ok, I dont really know, but sometimes its really slow, and most my asian readers said need to refresh to load the page. I am wondering if theres a way to check if they are overselling or not.)

I am thinking about buying vps, even tho, I still got 5 month left with dreamhost.

I found 2 vps companies are highly recommanded on this forum, JaguarPC and LiquidWeb.

theres already a post compared both companies in terms of price and service. I say I will pick JagarPc, cuz, its basic plan just 20 USD, and htey got promotion now, its even cheaper. and basic Liquidweb vps plan is 60 bucks.

I am wondering why Jagarpc is so cheap , are they overselling? how can we check if they are overselling.

I found a few posts saying how good jaguarPc is. and they are not overselling, but those members just signed up this month, and only have 1-3 posts. I cannot really trust those new members.

Can someone share their experience with JaguarPC? compare JaguarPc performance and liquidweb performance. antoher question is switch from dreamhost to JaguarPC basic vPS plan, will performance gets better?

last question: VPS account allows 3 IP, 3ip = 3 domains? if not, how many domains can I have?

View 14 Replies View Related

S.M.A.R.T Not Enabled

Dec 18, 2008

I have dedicated server running CentOS 5.2 with the latest release of cPanel.

Every night /scripts/upcp runs and I get e-mail. I am worried about this part:

Checking /dev/sda....S.M.A.R.T does not appear to be enabled for this device.

Checking /dev/sdb....S.M.A.R.T does not appear to be enabled for this device.

How do I enable S.M.A.R.T. (should I?) permanently?

View 11 Replies View Related

Need CURL Enabled

Apr 9, 2009

I have a Linux-Debian server, I have Apache2, PHP ect setup for a basic website im running on it too, However I need cURL enabled, I cant seem to find any options in the php.ini files to enable cURL at all.

I know that you just uncomment it to enable it however I dont see it at all, even it being disabled. I opened it in notepad and used the SEARCH feature and it couldnt find it eithier.

View 5 Replies View Related

SNMP Enabled Thermometer

Oct 8, 2009

SNMP enabled thermometer, hopefully one capable of reading both inside and outside temperatures. A fair bit of Googling only turned up the Poseidon 1140, which apparently is not available in the US. I figured that someone here has to be using something like this in their DC.

View 5 Replies View Related

CSF Enabled But Iptables Empty

Feb 19, 2008

/etc/init.d/iptables status

Table: mangle

Table: filter

Table: nat

/sbin/iptables -v -I INPUT -s 1.1.1.1 -j DROP
no "response"

.. this means the iptables are simply empty I guess!

CSF is enabled and working, at least it's sending me mails that it's blocking IP's or if CPU load is too high.

/etc/init.d/iptables status is working but not saving anything

My current iptables:

Code:
# Generated by iptables-save v1.2.11 on Tue Feb 19 08:30:06 2008
*mangle
:PREROUTING ACCEPT [11582:3937365]
:INPUT ACCEPT [11582:3937365]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [11881:5171405]
:POSTROUTING ACCEPT [11881:5171405]
COMMIT
# Completed on Tue Feb 19 08:30:06 2008
# Generated by iptables-save v1.2.11 on Tue Feb 19 08:30:06 2008
*filter
:INPUT ACCEPT [11582:3937365]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [11881:5171405]
COMMIT
# Completed on Tue Feb 19 08:30:06 2008
# Generated by iptables-save v1.2.11 on Tue Feb 19 08:30:06 2008
*nat
:PREROUTING ACCEPT [1203:62871]
:POSTROUTING ACCEPT [257:16291]
:OUTPUT ACCEPT [257:16291]
COMMIT
# Completed on Tue Feb 19 08:30:06 2008

View 10 Replies View Related

Best VPS Provider :: FFMPEG Enabled

Jun 2, 2008

I require
Disk Space : 100GB
Bandwidth : 2000GB

Optional : FFMPEG enabled.

Semi Managed like Powervps.

Please suggest best VPS provider with good support.

View 9 Replies View Related

Looking For A Ffmpeg Enabled Host, Recommendations Please

Jun 1, 2008

I am currently running the script vshare (youtube clone) on APThost shared. I really need to upgrade. I opened the site on the 28th of May and already using 13gb of space and 26gb of bandwidth in just a few days. I am looking for either a dedicated or VPS host that can at least provide:

- 100gb of space
- 150gb of bandwidth (maybe more?)
- ffmpeg

US based as they are cheaper.

I don't really have a lot to spend, as this was meant to start as a fun site but it is growing rapidly.

I have no idea on how a dedicated or vps server works like is it the same as a shared server?

View 3 Replies View Related

FFmpeg Enabled On Shared Hosting

Nov 14, 2008

If FFmpeg Enabled on shared hosting, does it mean that I can use it on other kinds of hosting services of the company that provides this services?

The company I'm talking about is apthost.com.

Sorry if my questions seems not very wise but I'd like to clear up the situation in this way.
That's important for me to know.

View 3 Replies View Related

CSF Setting --- Enabled But In Test Mode

Nov 4, 2009

i has setup CSF

and all things Ok

but i dont know to make any setting for CSF

ITs now

Firewall Status: Enabled but in Test Mode - Don't forget to disable TESTING in the Firewall Configuration

View 7 Replies View Related

Enabled Suphp But Still Can Read /etc/passwd

Nov 8, 2008

It there any good way to stop using from reading /etc/passwd?

I have suPHP enabled and open_basedir enabled by WHM too. But it seems susphp ignores open_basedir restrictions?

Here is virtual host config:

<VirtualHost x.x.x.x:80>
<IfModule concurrent_php.c>
php4_admin_value open_basedir "/home/xxx/:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/p$
php5_admin_value open_basedir "/home/xxx/:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule !concurrent_php.c>
<IfModule mod_php4.c>
php_admin_value open_basedir "/home/xxx/:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/li$
</IfModule>
<IfModule mod_php5.c>
php_admin_value open_basedir "/home/xxx/:/usr/lib/php:/usr/local/lib/php:/tmp"
</IfModule>
<IfModule sapi_apache2.c>
php_admin_value open_basedir "/home/xxx/:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/li$
</IfModule>
</IfModule>
ServerName xxx.com
ServerAlias www.xxx.com
DocumentRoot /home/xxx/public_html
ServerAdmin webmaster@xxx.com
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/xxx.com combined
CustomLog /usr/local/apache/domlogs/xxx.com-bytes_log "%{%s}t %I .
%{%s}t %O ."
## User xxx # Needed for Cpanel::ApacheConf
<IfModule mod_suphp.c>
suPHP_UserGroup xxx xxx
</IfModule>
<IfModule !mod_disable_suexec.c>
SuexecUserGroup xxx xxx
</IfModule>
ScriptAlias /cgi-bin/ /home/xxx/public_html/cgi-bin/
DocumentRoot /home/xxx/public_html
ServerAdmin webmaster@xxx.com
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/xxx.com combined
CustomLog /usr/local/apache/domlogs/xxx.com-bytes_log "%{%s}t %I .
%{%s}t %O ."
## User xxx # Needed for Cpanel::ApacheConf
<IfModule mod_suphp.c>
suPHP_UserGroup xxx xxx
</IfModule>
<IfModule !mod_disable_suexec.c>
SuexecUserGroup xxx xxx
</IfModule>
ScriptAlias /cgi-bin/ /home/xxx/public_html/cgi-bin/
# To customize this VirtualHost use an include file at the following location
# Include "/usr/local/apache/conf/userdata/std/2/xxx/xxx.com/*.conf"

</VirtualHost>

Scripts are running with user's UID, and that is fine, but it can still read /etc/passwd file for example.

How to fix that? Is it really open_basedir value is ignored by susphp? It works fine if I remove suphp and run scripts with nobody uid.

View 10 Replies View Related

WebDav Enabled With Shared Server

Jan 31, 2007

I'm trying to figure out if there are any security risks in enabling WebDAV on a shared server.

View 1 Replies View Related

Plesk 12.x / Linux :: Antivirus Not Enabled When Using CLI

Dec 29, 2014

when trying to add several useraccounts to our mail domain using the cli, we have a problem enabling the antivirus. We add user with the following CLI command, the antivirus flag is set. /usr/local/psa/bin/mail --create mail@mail.box -mailbox true -antivirus inout -passwd yourpassword -cp-access true

But when we got to the web interface and select the newly created user, the antivirus is still disabled for him and has to be enabled manually. Is this a known problem? Or is there any other way to automatically enable antivirus than using the "-antivirus" flag? Because we 're talking about more than 100 users it would take a lot of time enabling the AV manually for each of them.We 're running 12.0.18 Update Nr. 29

View 1 Replies View Related

No Log Handling Enabled - Turning On Stderr Logging

Feb 22, 2008

We have a box

Cpanel 11
PHP5+ Zend 3.3 +eaccelerator 0.9.5.2+Gzip
CentOS 4

our error_log keeps to have errors

No log handling enabled - turning on stderr logging
Cannot rename /var/net-snmp/snmpapp.conf to /var/net-snmp/snmpapp.0.conf

We have make sure net-snmp is up to date, but still these erros time to time

Client uses drupal system which seems not working well EA, causing a lot of segments fault

The worse is that it seems error happen only when eaccelerator installed

View 1 Replies View Related







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