483 reputation
31130
bio website SeanKilleen.com
location District of Columbia Metro area
age 28
visits member for 4 years, 5 months
seen Dec 5 at 13:28

Mar
4
asked Proper procedure to replace VeriSign certificates in Tomcat
Feb
17
comment Apache mod_proxy_html Substitute: how to re-use part of regex match? (regex variables?)
that's correct. We need to rewrite that string wherever it occurs. We're basically doing a workaround for the way SharePoint 2007 handles URLs.
Feb
17
comment Apache mod_proxy_html Substitute: how to re-use part of regex match? (regex variables?)
Also, to confirm, the [X] is my placeholder to mean "some character after that string" and no, that slash really is in that format. Thanks for your help!
Feb
17
comment Apache mod_proxy_html Substitute: how to re-use part of regex match? (regex variables?)
Hi Matthew, thanks for the response! To my knowledge, mod_rewrite only works on URLs where the browser is going -- not displayed URLs in pages, stylesheets, javascripts, etc. So mod_rewrite would be used largely for redirection. we're using mod_proxy_html because Apache is being implemented as a reverse proxy.
Feb
16
asked Apache mod_proxy_html Substitute: how to re-use part of regex match? (regex variables?)
Feb
16
comment Sharepoint with Apache reverse proxy using a subdirectory
@larsks, just an FYI, I updated the question in order to completely rephrase it and add an example config file. Thank you for your continued suport!
Feb
16
revised Sharepoint with Apache reverse proxy using a subdirectory
complete re-phrasing of question for clarity; added example config file.
Feb
16
comment Sharepoint with Apache reverse proxy using a subdirectory
The issue is the reverse. Sharepoint expects to be the root, and apache is referencing it via external.site.com/app/, so sharepoint sends the values back as /_layout/, etc. and apache thinks it's external.site.com/_layout instead of external.site.com/app/_layout. Could you provide some assistance in the correct way to use RewriteRule and Mod_proxy_html to accomplish this? (Thank you so much by the way!)
Feb
16
comment Sharepoint with Apache reverse proxy using a subdirectory
The issue is that we're using apache for the reverse proxy, so outside users are hitting external.site.com/app, but it forwards internally to inside.side.com. This means that (for example with images), they are in the code as "/_layouts/" directory, which bubbles up as inside.site.com/_layouts/image which then gets translated to external.site.com/_layouts/image which is incorrect and breaks. The issue is more how to convert them properly to get the reverse proxy to work with our app as-is.
Feb
16
comment Sharepoint with Apache reverse proxy using a subdirectory
Hi larsks, thanks for the answer! I'm surprised at the need to rewrite every single URL. I think that instead of doing this per type of relative URL (since SharePoint generates some of its own), the it would be better to rewrite all relative URLs to be absolute (using apache), and then using those through the reverse proxy. Does this seem correct?
Feb
16
revised Sharepoint with Apache reverse proxy using a subdirectory
clarified question; added notes.
Feb
16
comment Sharepoint with Apache reverse proxy using a subdirectory
Thank you for the response! We would normally have chosen this path; however, this rule is mandated by the client; we don't have control over it. It's a policy for a large client, and it's just not an option to change this. So, since we're stuck, do you know any way we might be able to make it work?
Feb
15
asked Sharepoint with Apache reverse proxy using a subdirectory
Feb
11
awarded  Commentator
Feb
11
comment Issue replacing SSL certificate with renewed one on Tomcat 6.0 (using keytool)
When you say to replace the intermediate, does that mean I should just delete it and then import the new one? I can't seem to find a command to specifically replace, and importing to the same one informs me that it already exists (of course). So far, I have my old CA ("intermediateca") and then two verisign CAs that it looks like are now necessary (a primary and secondary?) I imported those as "intermediatecaprimary" and "intermediatecasecondary". However, I still receive the same error.
Feb
11
asked Issue replacing SSL certificate with renewed one on Tomcat 6.0 (using keytool)
Jan
20
awarded  Notable Question
Nov
17
awarded  Popular Question
Oct
26
accepted Ubuntu 10.10 Maverick Server — apt-get install commands fail
Oct
25
comment Ubuntu 10.10 Maverick Server — apt-get install commands fail
Hi All -- Solution found; please see my solution below. Thank you to all for your help in this matter!