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
ADVERTISEMENT
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
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
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
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
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
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
Jul 24, 2008
I dowload a scripts with a .htaccess file
Code:
DirectoryIndex index.php
RewriteEngine On
RewriteRule ^link/([0-9]+)[/]*$ /redirect.php?id=$1
RewriteRule ^link/([a-zA-Z0-9]+)[/]*$ /redirect.php?tag=$1
I want to convert it to lighttpd rewrite rules, urgent, also I can't contact with the scripts author,
View 0 Replies
View Related
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
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
View Related
Jun 25, 2007
I am currently running a web site that does benchmark tests. The thing is the graphs could definitely be more visually appealing than what they are now. I am good at programming with Alias Maya, so I could definitely automated 3D Image generation for the charts.
I would think, just jump right to the dedicated Windows server... but is that really necessary? If the VPS was just used for this one purpose, and nothing else. It would only need say 1GHZ of processing power, and maybe 512MB of RAM. Granted it would be slower, but it would still do what I need it to do.
Is this possible on a Windows VPS? I would think it could be... but you guys might no better.
I really don't want to throw down 200 a month for this just yet, 50-80 a month wouldn't hurt as much though.
View 6 Replies
View Related
Jul 19, 2008
I have a site with heavy use of large and small images. The site gets majority of traffic from US and Asia. Using a CDN for JS, CSS, site images and user uploaded images will help the site a lot to speed up.
One of the cheaper options is Cachefly which I was considering, until I found an article about using Google's App Engine as CDN. http://www.google.com/search?q=google+app+engine+cdn
I think it is very inexpensive way to put your content on a CDN. Has anyone tried App Engine as a CDN? Does anyone know if they serve content from local servers in Asia, Europe or is the content served from US?
View 14 Replies
View Related
Mar 14, 2009
Is google app engine good for hosting web applications?
View 3 Replies
View Related
Jul 16, 2009
i have nameservers in my domain (let's say [url]n [url] that registered for my first vps, i want to make 2 more nameservers from my domain for my second vps [url]n[url]so i have 1 domain with 4 nameservers in 2 vps (2 ns in each vps), it would be like this.
[url]= vps1
[url]= vps1
[url]= vps2
[url]= vps2
ns1 n ns2 is working (can connect to the first vps), but ns3 n ns4 isn't work (cannot connect to the second vps), in different way i tried to make ns3 n ns4 for the second vps with different domain and it's work, it would be like this.
[url]= vps1
[url]= vps1
[url]= vps2
[url]= vps2
so, i wanna ask can i use 4 nameservers in 1 domain for 2 vps? i mean use one domain for more that one ip (different engine)
View 5 Replies
View Related
Apr 27, 2008
how I could get rid of the "newest members" "last logged in" and "most popular members" on the home page of my social engine script.. Just curious on how to get rid of them.
View 3 Replies
View Related
Jan 8, 2007
I am thinking about creating my own search engine and I was wondering what some basic server hardware would be required to do this (e.g., RAM, hard drives, memory, storage space). Would I have to run a minimum of 1TB on storage and 4 to 6GB of ram to do it right?
View 6 Replies
View Related
Oct 30, 2009
I am getting error28 from storage engine with every application using mysql. The issue started a few weeks ago so i thought emptying /tmp folder would solve the issue but it didn't . Problem seems to disappear when i reboot the server but problem comes back again after a few hours . I even got tmp partition deleted and recreated
I enclosed some info from server below
root@latte [~]# stat /tmp
File: `/tmp'
Size: 81920 Blocks: 162 IO Block: 4096 directory
Device: 700h/1792d Inode: 2 Links: 4
Access: (1777/drwxrwxrwt) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2009-10-28 22:39:38.000000000 +0000
Modify: 2009-10-28 22:39:35.000000000 +0000
Change: 2009-10-28 22:39:35.000000000 +0000
root@latte [~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 143G 42G 94G 31% /
tmpfs 502M 0 502M 0% /dev/shm
/usr/tmpDSK 485M 12M 449M 3% /tmp
root@latte [~]# du -hsx /tmp
1.2M /tmp
root@latte [~]# mysqladmin variables | grep -i "log_error"
| log_error | |
root@latte [~]# find /var/lib/mysql -iname "*.err"
/var/lib/mysql/latte.quicklyweb.net.err
less /var/lib/mysql/latte.quicklyweb.net.err
091028 2:13:57 [ERROR] /usr/sbin/mysqld: Disk is full writing '/tmp/STH2JAx1' (Errcode: 28). Waiting for someone to free space... (Expect u
p to 60 secs delay for server to continue after freeing disk space)
091028 2:13:57 [ERROR] /usr/sbin/mysqld: Retry in 60 secs. Message reprinted in 600 secs
091028 2:23:57 [ERROR] /usr/sbin/mysqld: Retry in 60 secs. Message reprinted in 600 secs ....
View 2 Replies
View Related
Jun 13, 2008
I require a VPS system for my main dedicated (Softlayer, 4GB ram - to become 8gb ram after implementation, Dual Xeon 4 CPU).
I need to decide whether to use HyperVM (Lxlabs) or some other sort of system (Not Viruozzo had a bad experience with them a few months ago). I want something good and easy setup and efficient. I don't require EYE-CANDY.
I need to know what you recommend and what is easy to setup. I could also pay a third party organization for setting it up (if they have the knack for it and experience).
I would like to know everyone's experience (hosts and users) on what they like or prefer (except Virtuozzo/Parallel which I wont even consider anymore).
Also my main server has CPanel with around 100 web sites already on. Can I install hypervm or such on the existing server or do I need a fresh server for the same. The VPS accounts based on hypervm or such will end up having cpanel vps licensing anyhow since I am pro-CPanel (anti Parallel) (No plesk)
View 2 Replies
View Related
Aug 7, 2008
I recently reorganized my music site, putting my songs in their own directory (off of public_html), and now a couple of search engines are generating a boatload of 404 errors.
Can I redirect the file requests to the new location and, if so, how?
View 3 Replies
View Related
Mar 15, 2007
Actually i have PHP 4.4.5 + Zend Engine v1.3.0.
One of my customers needs Zend Engine v2.0.4-dev installed.. this is a RHES 4 + cPanel box..
Does anyone know how to install/upgrade Zend Engine v2.0.4-dev?
May this change cause some problems with PHP Scripts?
View 4 Replies
View Related
Apr 2, 2009
Google App Engine offers free quotas of 1 GB outbound traffic per day and 6.5 CPU-hours (based on a 1.2 GHz Intel x86 processor) per day.
How do those free quotas compare to web hosting plans? For example, the traffic supported by the free quotas -- is that
generally higher or less than the traffic supported by a typical $5/mo shared hosting account?
Above the free quotas, Google charges $0.12 per GB outgoing traffic, $0.10 per GB incoming traffic, $0.10 per CPU-hour, $0.15 per GB storage per month.
How do those numbers translate to normal web hosting plans? For example, the traffic that can be supported by a $40/mo VPS plan and $200/mo dedicated server plan, what would they cost on Google App Engine?
I know it depends on a lot of factors, but if anyone has any ballpark estimates or experiences they're willing to share I'd really appreciate it.
I'm trying to decide between App Engine and standard web hosting for a DB-backed Python site. The site will start small, but if the traffic grows I want to see which would be a better option long term.
View 5 Replies
View Related
Oct 25, 2009
i have a mp3 search engine website, i dont host any mp3 file, and i want buy a dedicated from france, but the seller of yourwebhoster.eu say its no allowed the mp3 search engine, where i can host that?
View 8 Replies
View Related
Jul 18, 2007
How to hack a website at phpizabi engine?!
keywords:
?L=, cecen hacked, cecen, hacked, phpizabi hacked, How to hack phpizabi
Hacking mechanism:
1. this is not hacking indeed. This is usage of phpizabi engine imperfection
Usually the path till the admin area looks like this:
?L=admin.general.configure
If changing the path to
?L=admin//general//configure
Then anyone can obtain full access to the admin area and can do everything he wants.
Similarly changing the path till any keyword file on the web site you can freely get the access to the database.
HOW TO CORRECT THIS ERROR:
mechanism:
1. Below I’ll show an example on how to correct the imperfection of phpizabi engine. This is only example and I recommend all the programmers to code by themselves their own mechanism of this error correction. Unque character of this mechanism will be one more obstacle against hacking.
So, in the very beginning of the script index.php we should put the following code:
$ser_p = array("'[^.A-Za-z0-9]*?'si");
$rep_p = array("");
$_GET = preg_replace($ser_p,$rep_p,$_GET);
It cleans everything from the query except “dots”, “letters” and “digits”.
2. All the folders in main directory of the web site which are located under the path /pages/ should not be accessible for opening!
The easiest and fastest way is to set password access for all the folders in /pages/ through «Password Protect Directories» - this is client’s admin area on the hosting. You should set password to all except “chat” and “gallery”.
3. File upload:
By default any file can be uploaded for scripts phpizabi for dating web sites. They could be uploaded like a picture for gallery or attached file for other web site elements.
Specially created *.php file which will be loaded at the server, can give full access to hacker and finally to walk away it from you!
I do not enclose the correction code of this error as you should restrict file uploading on the server by the class objects jpg/jpeg, gif and png.
View 0 Replies
View Related
Dec 10, 2007
Is there any sites which provide web hosting and search engine advertisement in one plan?
View 4 Replies
View Related
Sep 27, 2007
One of the sites I have, is placed on a non-Apache server (the others are). Phpinfo() gives this:
Server API CGI
I'd like to make search engine-friendly URLs for all my sites. All of them will do fine with mod_rewrite, but that's not possible on this server, it seems. Anybody here knows how I can do this for this particular server?
View 1 Replies
View Related
Aug 27, 2014
Is it possible to install and run Plesk on Google App Engine? If so, could you point me to some appropriate documentation? If not, what about Google Compute Engine?
View 1 Replies
View Related
Jul 26, 2008
I want to host a torrent search engine (not a torrent site with actual torrents hosted, only a search engine).
It has to be really fast. I have a few questions?
What hosting is required for this site to be lightning fast? Most of it is due to the coding of the site but how much of it is reliant of the server? Any suggestions?
Also, is it better to start small and upgrade as more visitors come? Or is it just better to get a big server?
View 0 Replies
View Related
May 10, 2008
I am considering a server from Iweb wich is based in Canada.
My question is about search engines especially google. My site will be targeting US visitors and I am in the US. When google and other search engines see that my IP address is in Canada will it have any affect on search engine ranking for the regular us google.com? I don't care much about rankings on google.ca since my visitors will mainly be in the USA. anybody have any insite on this? I also want to mention my domain name will be a .com domain
View 2 Replies
View Related
Mar 29, 2015
when I go to open plesk the browser give me this:
ERROR: Zend_Db_Statement_Exception: SQLSTATE[HY000]: General error: 1030 Got error 28 from storage engine (Pdo.php:234)
View 1 Replies
View Related