949 reputation
614
bio website
location Columbus, OH
age
visits member for 4 years, 6 months
seen Sep 17 at 16:43

Apr
15
comment nginx with php-fpm location settings
@krisFR, The main thing I don't want is the plain Nginx error page. index.php is a front controller that already has the logic to display a 404 page or whatever, but it's no good if it's code is never executed. (which with the given config won't happen -- with or without the if statement.)
Apr
13
comment nginx with php-fpm location settings
@krisFR doing that could allow unauthorized code execution.
Apr
13
comment nginx with php-fpm location settings
@krisFR, FPM shouldn't try to execute the non-existant file. It should execute index.php which has error handling and other functions that are able to deal with the request.
Apr
13
comment nginx with php-fpm location settings
@MichaelHampton, thanks, that is one of the many guides I've looked at.
Oct
25
comment Is it possible to use one wildcard subdomain for both Web and Incoming Email?
The Wikipedia entry on wildcard DNS has more info on this and uses MX records as an example.
Oct
5
comment DNS and Subdomains
Yes. You really just want to mirror the zone config from the old server to the new server.
Aug
26
comment Apache nested virtual hosts
Pretty much the same way you do it for one. Just use <Location> and <Directory> as necessary to isolate the settings for each and use your rewrite rules to route the request to the correct app entry points.
Jul
20
comment Domain Masking / Cloaking?
mod_proxy_html can rewrite the links in the output.
Jul
15
comment Forward a specific Domain on Port 80 to another Server within the Intranet
@DataWizard it's certainly possible but you likely will have to make some small tweaks somewhere for it to look at the header instead. I'm not really an IIS expert and without knowing your application, I can't point you to what exactly you'ld need to change.
Jul
14
comment Forward a specific Domain on Port 80 to another Server within the Intranet
@DataWizard fundamentally what you're asking can't happen at a lower level. The device doing the routing has to look inside the HTTP request in order to know what the hostname is. You'll need to do some research on Reverse Proxies but you can pass all of the information you want through the proxy. The hard one will be IP. You can pass it in a header or something, but the request will still come from your proxy server.
Apr
18
comment Apache ReWrite Rule Questions
RewriteOptions Inherit will allow you to use global rules with virtual hosts. httpd.apache.org/docs/current/mod/mod_rewrite.html#vhosts
Apr
7
comment RewriteRule not working for apache https request
You need a certificate for lvdraspnetserv01. In this case the certificate validation happens before the redirect.
Mar
30
comment Apache rewrite rule and keep the url unchanged?
@Alaa If you remove that rule completely do you still get the redirect? If so you probably have another rule or directive that is being applied first.
Mar
28
comment Understanding FTP/FTPS for local users
huh? The plugin has nothing to do with local FTP? About halfway down in the FAQ's there's a question "When will be asked for my FTP credentials and why?" that pretty much answers why they need FTP. A remote party (ie. not you) is going to access the files on the site to set the correct permissions. If you set the permission correctly through some other method they shouldn't ask for access to the FTP.
Mar
16
comment vmware nat internet connection
What do you mean by "Only ping by IP"? If you can successfully ping in or out, it means you have an internet connection.
Mar
13
comment How to expand URL with mod_rewrite?
You're missing the leading slash in the rewrite rule.
Mar
1
comment HTTP Hostname to IP Address Routing
Here's an example for IIS that should help get you started. blogs.iis.net/carlosag/archive/2010/04/01/…
Feb
28
comment Apache, modifying response codes from 404 to 301
You might want to ask over on webmasters.stackexchange.com but I'm not sure this is a good idea. Instead you should modify your 404 page to have helpful information for someone to find the correct information. If you must do it, you could have magento/php return the 301 directly.
Feb
17
comment Apache mod_proxy_html Substitute: how to re-use part of regex match? (regex variables?)
Oh do you mean rewriting the html output?
Feb
10
comment Virtual Host on centos
I think we're beyond the scope of the original question.Based on what I see of your config if you use onlinemba123 as the domain in your url you'll get to the second virtual host. If you use any other domain you'll get to first virtual host. However if you are getting somewhere else it means there's some other part of your config that's taking over.