Reputation
4,139
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 13 24
Newest
 Enlightened
Impact
~171k people reached

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).
May
3
comment Link Domains/Subdomains to folders in a PC Server?
You will have to edit your Apache config files -- you will need to use virtual hosts approach (which is not used by WAMP or alike by default). More details: httpd.apache.org/docs/current/vhosts ; httpd.apache.org/docs/current/mod/core.html#virtualhost
May
2
answered Replace 404 with 301 to other subdomain
May
2
comment Replace 404 with 301 to other subdomain
What do you mean by "false positives" .. and what web server (I assume it's Apache) says about 500 errors (check Apache's error log for EXACT error message).
Apr
26
comment zlib compression issues
The ob_gzhandler approach requires you to buffer whole output, so that modified headers (that produced by that handler) will still be able to be sent (plus, the actual compressed content). Using webserver-level compression (see @msanford answer) is much better in this case as it happens after page was finished processing by php completely.
Apr
26
comment Redirect HTTPS request to HTTP in Apache
It may be better to rely on %{HTTPS} variable instead of specific port number .. as you can put HTTPS service on ANY port (depends on actual server condition/configuration/your requirements) -- 443 is just a default port, so you will have to edit this rule to make it work again if it is run on such non-standard port. Such alternate condition will be RewriteCond %{HTTPS} =on [NC]
Apr
25
comment Redirecting a .co domain to a .co.uk with masking
If you want this "transparent" redirect then you are using wrong approach -- you need to use what is called "Reverse Proxy". For that use these 2 Apache modules: mod_rewrite and mod_proxy. For examples and help check stackoverflow.com or Apache's documentation: httpd.apache.org/docs/current/rewrite/proxy.html ; httpd.apache.org/docs/current/mod/mod_proxy.html
Apr
24
comment Redirect Permanent and https
Odd -- should be working just fine. Try RedirectMatch instead: RedirectMatch 301 ^(.*)$ https://www.domain.com$1 -- see if it makes the difference. Also -- modern browsers do cache permanent redirects, so if it failed first time, then browser may still be using old redirect. I suggest clear browser cache and restart it (and/or try another browser).
Apr
21
answered prevent IIS from executing scripts in a specific directory
Apr
20
comment Is it necessary to re-submit modified sitemaps?
No need to resubmit. Most search engines will automatically look for website.com/sitemap.xml file (or will try to read such file name from robots.txt if such entry is present there). In any case -- there is no need to resubmit the file every time -- can be required to resubmit only if your site had problems with search engines (no indexing for long time, was blacklisted etc)
Apr
20
comment prevent IIS from executing scripts in a specific directory
How much control do you have over the server/IIS? If you know the module name, then you can place some special web.config file into that folder that will instruct IIS to remove those specific modules that deal with PHP/ASP etc -- but you need to know those handlers/modules names in advance (unless you are happy to remove them all, which does not make much, if any, sense). This also will not work, if configuration of that part of the config section is prohibited to be done in web.config file (such restrictions can only be applied at higher level, e.g. server level).
Apr
20
comment .htaccess 301 Redirect Hash Tag Redirect
Well .. I personally have not worked with this kind of client-side routing .. but you will need something like this: github.com/Ti-webdev/jquery.router or this github.com/wuyuntao/jquery-router. With this you will be able to implement navigations like here grooveshark.com or prostopleer.com
Apr
20
comment .htaccess 301 Redirect Hash Tag Redirect
You CANNOT do that .. as hash tag is client-side ONLY and never sent to the server by browser.
Apr
19
comment mod_rewrite problems - redirect subdomain to different domain
Nope -- global (virtual host) first, then .htaccess; rewriting rules in subfolder will have priority and parent rewriting rules will be ignored unless RewriteOptions directive is used: httpd.apache.org/docs/current/mod/…
Apr
19
comment mod_rewrite problems - redirect subdomain to different domain
So .. do they work but incorrectly .. or they do not work at all? Do you have other rules there? DO they work (if you comment those domain redirects)?
Apr
19
comment IIS host computer vs network computer 403 forbidden
Check website log -- what error subcode is generated for such problematic request (main error code = 403, next "column" in the log should be error subcode (0, 1, 2 etc). What I think right now -- maybe you are hitting number of simultaneous requests and IIS thinks that you may be DOS-ing it ...
Apr
18
comment Use different document root for subfolder of URL
Alias -- httpd.apache.org/docs/current/mod/mod_alias.html#alias , but you cannot do this in .htaccess, it has to be server config/virtual host.
Apr
18
comment Why is godaddy HTTPS/SSL certification so much cheaper than digicert, thawte, and verisign?
Don't forget the "Brand" factor -- some products simply have extra in prices just because they are labeled with widely known and recognized company name.