3,714 reputation
11123
bio website
location London, United Kingdom
age
visits member for 3 years, 4 months
seen 2 hours ago

Jul
17
awarded  Caucus
Jul
16
comment displaying a list of files
PHP Manual says: opendir() uk.php.net/manual/en/function.opendir.php; scandir() uk.php.net/manual/en/function.scandir.php; glob() uk.php.net/manual/en/function.glob.php
Jul
13
answered htaccess Rewrite Syntax?
Jul
13
comment htaccess Rewrite Syntax?
You question is way to broad -- you need to be more specific, e.g. from URL => to URL; what rules have you tried; what is working and what is not etc.
Jul
6
comment Link to pages on site without .html extension appearing in browser?
@Anime163 Definitely No. Browser analyse server response headers (Content-Type in particular) as well as actual file content to identify correct format (display/processing method). It is not a surprise to see on the web file with .jpg extension that in fact is .png file (or other way around). If on my site all pages have .do extension -- how browser should treat them (accordingly to your logic)?
Jun
26
comment prevent IIS from executing scripts in a specific directory
@cdonner If you have access to the server's file system directly (or can execute commands that will affect file system), then just use appropriate security permissions on such web.config to prevent any access over FTP (or whatever is required).
Jun
26
comment prevent IIS from executing scripts in a specific directory
@cdonner So .. what is the problem? Wrap your config into location element and then such web.config it can be placed in different location (e.g. root folder): <location path="subfolder/protect"><system.webServer>....</system.webServer></location>. If you cannot use web.config at all -- you will have to place such code (using full path to that folder though) in server wide config file.
Jun
16
awarded  Yearling
Jun
15
answered How can set a local host ip address to forward to local host virtual host domain name
Jun
14
comment Complex Disallow pattern in robots.txt
Why don't you just use either 1) 301 redirect to a correct page (using mod_rewrite and .htaccess or in your php code) or 2) add canonical URL entry in <head> section of your HTML -- googlewebmastercentral.blogspot.co.uk/2009/02/… ?
Jun
14
revised Complex Disallow pattern in robots.txt
improved formatting
Jun
12
comment What response headers encourage 304-Not Modified upon reloads?
Well .. general practice is to remove ETag to save a bit on bandwidth if other possible "If-*" header is present (which is the case in your example). 1) en.wikipedia.org/wiki/HTTP_ETag 2) webmasters.stackexchange.com/search?q=etag
Jun
12
comment Spam bot constantly hitting our site 800-1,000 times a day. Causing loss in sales
Side note: Instead of banning IPs (which does not really makes impact since they use new one every time) better ban on more stable factor (based on your description). In your case -- referral. You can create simple rule using mod_rewrite to abort all requests that have those domain names in referrer request header.
Jun
12
answered What response headers encourage 304-Not Modified upon reloads?
Jun
11
comment HTTPS To http redirect issue. How to overcome?
Except disabling SSL (removing such binding) in Plesk -- nope, sorry. Maybe somebody else has better ideas -- I have never met such issue myself and don't really know where to start (except all what I have said already).
Jun
11
comment HTTPS To http redirect issue. How to overcome?
You will see such warning in browser when domain name in SSL certificate does not match requested domain name. Because SSL (S part of HTTPS) executes before http connection is made (before mod_rewrite has a change to kick in), you will see it (warning) unless you install correct certificate. You better find out why you are indexed via HTTPS (cannot help here, unfortunately)
Jun
11
revised HTTPS To http redirect issue. How to overcome?
improved formatting, spelling
May
30
comment Different behaviour with windows authentication on IIS7 websites
To start I suggest checking access right on c:\inetpub\wwwroot folder and compare to the root folder for web2.local (even despite the fact that actual app is located in different folder).
May
3
comment Link Domains/Subdomains to folders in a PC Server?
The answer in the link provided by @paulmorriss will give enough info
May
3
comment Link Domains/Subdomains to folders in a PC Server?
That's regarding Apache. But you still will need to configure DNS so those domain names point to your server (unless all requests are done locally -- then you can use hosts file for that).