What is the recommended method to configure a web proxy to another server on the LAN?

Hello

I use Server to manage incoming web traffic, but also have another server running I want to use outside.

I work in directly modifying the site configuration file and adding the ProxyPass and ProxyPassReverse directives but these overwritten when the site configuration is changed in the.app

I want to implement this in a way that is not crushed and is more robust.

Any advice would be very welcome.

Thank you

Gary

I'm certainly not an expert in the field, but I think you can do what you're asking using the functionality of the Web application.

You bring a plist to webapps folder and a conf file in the apache folder and then using.app, edit your Web site, and then click Change advanced settings and select the Web application that you created. It should not then be written more if you make any changes.

The content of the conf file would proxy information in it:

# of http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass

RewriteEngine on

RewriteCond% {HTTPS} = off

RewriteRule. -[E = Protocol: http, E = port: 8000]

RewriteCond% {HTTPS} = we

RewriteRule. -[E = Protocol: https, E = port: 8010]

ProxyPassReverse / http://secondserver.example.com:8000 /

ProxyPass / http://secondserver.example.com:8000 /

and the plist would be something like this:

<? XML version = "1.0" encoding = "UTF-8"? >

<! DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0 / / IN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd" > ""

<!-see the manual pages for webapp.plist (5) and webappctl (8) for more information on this example webapp.plist->

< plist version = "1.0" >

< dict >

includeFiles < key > < / key >

< table > <! - include files are enabled in the virtual host then webapp - >

< string > /Library/Server/Web/Config/apache2/httpd_yourwebapp.conf < / string > <! - name must match your conf file - >

< / array >

< key > name < / key >

< string > com.example.secondserverwebapp < / string >

displayName < key > < / key > <! - name displayed in app server - >

< string > SecondServerWebApp < / string >

installationIndicatorFilePath < key > < / key > <!-the presence of this file indicates web app is installed->

< string > /Library/Server/Web/Config/apache2/httpd_yourwebapp.conf < / string >

sslPolicy < key > < / key > <! - determines the behavior of the webapp SSL - >

< number > 0 Integer < / integer > <!--0: by default, UseSSLWhenEnabled->

<!--1: UseSSLAlways->

<!--2: UseSSLOnlyWhenCertificateIsTrustable->

<!--3: UseSSLNever->

<!--4: UseSSLAndNonSSL->

< / dict >

< / plist >

This is perhaps not completely right, but can direct you in the right direction, I hope that someone with more knowledge will be the chip in the meantime

Tags: Servers and Enterprise Software

Similar Questions

  • Recommended method to configure the unit to reject calls to himself

    What is the recommended / best for the configuration of the unit to refuse or remove calls to itself?

    A situation like a TRAP to call on a phone that has the value CFA VMail.

    Thank you

    Vance

    By default, the unit will try to match the incoming calls caller ID to post numbers that you entered for each port in UTIM. Unfortunately, only the caller ID is not reliable. For example, if the unit transfers a call through a trunk or line of JUNCTION and the call is transferred to the unit, we expect to see the port of transfer as caller ID incoming. In this case, we don't want to dismiss the appeal. To handle this, the unit will only reject calls that have caller ID corresponding to a dedicated outdial port (which is a port that is not configured to answer and therefore to transfer calls). So to take full advantage of this feature, you'll want to first configure the outbound ports dedicated for Notification calls, traps and MWI. Then you'll want to make sure that these ports have post numbers entered for them the UTIM. Details of this implementation can be found in CSCdu64641.

    Of course there are always cases where the method above is insufficient. For example, if a call from notification of the unit died in a cell phone that is passed to the caller ID unit original (extension of the unit) may not appear when the transmitted call. In order to take account of cases like this, a new tone-detect basic functionality has been added to 4.0 (4). See the setting "Reject sent Notification DTMF Tone" in the Advanced Settings tool. Unfortunately, this will help with the Notification calls only. Trap the calls that you mentioned won't be affected.

    Hope this helps,

    Eric

  • Failed to configure remote web access in Storage Server 2008 R2 Essentials

    I am running windows storage server 2008 r2 essentials. It is my second server. The first I own and been installed without any problems. The other is having a problem setting, web access remotely via the dashboard. Everytime I try to put in place the name domain the wizard fails, and I noticed that the windows server domain name management service stops. What should I do?

    Hello

    The business support, you can find forums on TechNet, see the following links:

    http://social.technet.Microsoft.com/forums/en/category/WindowsServer/

  • What is the recommended method to organize your applications on 6 s more?

    What is the recommended method to arrange the icons on the iPhone

    Hello

    Simply move you them where you want on the screen of each apps

    Are in different places on the move of the screen by holding down until what they shake.

    See you soon

    Brian

  • What is the recommended computer configuration - PC - first pro

    I'm shopping for a new computer. What is the recommended configuration for a PC that is running the first Pro CS6

    Please see the link: http://helpx.adobe.com/x-productkb/policy-pricing/system-requirements-premiere-pro.html#Ad obe Premiere Pro CS6 system requirements

  • What is the preferred method of formatting and partitioning a hard drive?

    Format the hard drive... and build a Partition... (question of part 2)

    I finally get my CD with Windows 7 and ready to install... I just thought I would ask the "Perferred" formatting the hard drive method...? Quick format in fat files... a quick format in NTFS... elongated format... What is the formatting the hard drive perferred method... Also... build a partition to install Windows 7 within this partition... It is also the preferred method... ?? You don't computer Pro to always build a partition and install the Windows operating system inside the partition... ?? What is the perferred method... ?? I would like to try this for the first time... !!! Is it easy to do... ??  What size partition can I build... ???

    During the installation process, you can format/delete/create partitions on the disk hard if you perform a custom installation. Data backup before installing Windows.

    Using NTFS with Windows 7 system.

    Most people do a quick format.

    Install Windows 7 on a partition with a minimum of 60 GB. 100 GB or lager is recommended. You can use all the hard disk to the Windows partition if you want to.

    Format/delete/create the partition with the Windows 7 installation DVD, you can:

    1 boot from the DVD

    2. click on install now

    3. in the configuration screen, click Custom (Advanced)

    4. click on Drive Options

    5. you have the option to format/delete/create partitions and choose size during the creation of their

    6. continue with the installation.

    Activate Windows 7 on this computer

    http://Windows.Microsoft.com/en-us/Windows7/activate-Windows-7-on-this-computer

    Case of failure of the online activation:

    Call Microsoft use the manual phone Activation

    Note: If you always install Windows page enter your product key, do not enter your key and uncheck the "Automatically activate when online" then click OK/next to complete the installation.

    1. open Windows Activation - click on the Start button, right-click computer, click Properties, then click the option to activate Windows now or change your key.

    2. click on show me other ways to activate.

    3 type your Windows 7 product key, and then click Next.

    4. click on use the automated phone system.

    5. click on the location nearest you from the drop-down list, and then click Next.

    6. dial one of the available phone numbers listed.

    7. do not select all options and wait for a person pick up, then explain what happened.

    Questions about installing Windows 7?
    FAQ - Frequently Asked Questions from Installation Windows 7 & responses

  • I want to upgrade to a newer Windows operating system Windows Vista Home Pro 64-bit. What is the recommended procedure?

    * Original title: upgrade

    I want to upgrade to a newer Windows operating system Windows Vista Home Pro 64-bit. What is the recommended procedure? I see that Windows 7 or 8, a free update to Windows 10 is offered. Should I buy 7 or 8 then you spend 10 or just buy 10?

    Thank you

    Jim

    Hello

    Depends on hardware configuration required on later operating systems, and also find out if the manufacturer of the laptop computer is supported and provides drivers for operating systems later as to whether it is possible or feasible to upgrade or not.

    There is no free upgrade Vista to 7, 8.1, or 10.

    Follow these steps before you buy Windows 7.

    Microsoft sells more than 7; Try Amazon.com.

    Go to your computer / computer laptop manufacturer Web site and see if Windows 7 drivers are available for your make and model computer / laptop.

    If this is not available, Windows 7 will not properly work for you.

    Run the "Windows 7 Upgrade Advisor.

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=20

    Check if your specifications are compatible for Windows 7:

    "Windows 7 system requirements"

    http://Windows.Microsoft.com/en-us/Windows7/products/system-requirements

    "Windows 7 Compatibility Center" for software and hardware:

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

    Windows 7 upgrade paths:

    http://TechNet.Microsoft.com/en-us/library/dd772579 (v = ws.10) .aspx

    «Installation and reinstallation of Windows 7»

    http://Windows.Microsoft.com/en-us/Windows7/installing-and-reinstalling-Windows-7

    @@@@@@@@@@@@@@@@@@@@@@@@

    Follow these steps before buy you and upgrade (new installation) of Windows 8.1.

    Microsoft sells more than 8/8.1.

    Try Amazon.com, etc.

    Check if the manufacturer of your computer/laptop has Windows 8.1 drivers available for your model.

    If this is not available, Windows 8.1 not install and work properly for you.

    There is a lot of information in this first link from Microsoft:

    Download and run the Windows Upgrade Assistant 8.1 of to see if your machine is compatible Windows 8.1 and read the update for Windows 8.1: FAQ here

    "Update to Windows 8.1: FAQ".

    http://Windows.Microsoft.com/en-us/Windows-8/upgrade-to-Windows-8

    "8.1 for Windows system requirements.

    http://Windows.Microsoft.com/en-us/Windows-8/system-requirements

    @@@@@@@@@@@@@@@@@@@@@@@

    How to buy Windows 10:

    http://www.microsoftstore.com/store/msusa/en_US/cat/Windows/CategoryID.70036700

    But first make sure that you have the correct configuration and your computer manufacturer provides the right drivers for 10.

    https://www.Microsoft.com/en-us/Windows/Windows-10-specifications#sysreqs

    " System requirements Windows 10"

    https://www.Thurrott.com/Windows/Windows-10/3884/Windows-10-system-requirements

    Microsoft deploys Windows 10 available as free upgrade to Windows 7 features, Windows and Windows Phone 8.1 8.1 qualified. It will be available from July 29, 2015

    "FAQ Windows 10.

    http://www.Microsoft.com/en-us/Windows/Windows-10-FAQ

    See you soon.

  • What is the best way to configure the Cisco IOS password?

    I'm under 15.2 (4) IOS on a router in 1921

    What is the best way to set up the password of the router?  I already tried once and managed to block me on another switch.  I would use the most secure method that encrypts the password.

    Current config:

    username admin privilege 15 password 0 cisco123

    Hey Kevin,

    Use the secret keyword instead of the password for the password more secure and encrypted.

    The syntax that you are using will display the password in clear text.

    R1 (config) #username, 0 privilege 15 password test
    R1 (config) #exi
    R1 #sh runn
    * 00:00:25.523 Mar 1: % SYS-5-CONFIG_I: configured from console by console
    R1 #sh runn | in test
    username password 0 privilege 15 test
    R1 #.

    If you use the keyword secret then it will get encrypted.

    R1 #sh runn | in test1
    username privilege 15 secret 5 test1 $1$ PV6g$ sGMYxxmW8hD9Cdy7TsmHF0
    R1 #.

    Concerning

    Knockaert

  • What is a VPN solution that is more stable than IPSEC VPN? What is the latest version of VPN client recommended for Windows 7 &amp; 8 users?

    Hello

    I would like to ask a few details & concerns on our existing VPN configuration.

    1. What is the Cisco VPN client recommended for users of Windows 7 and 8? Is there an official documentation for this Cisco? We currently use customer VPN Ciso 5.0.7.

    2. we are running IPSEC VPN with only 1 gateway & only local authentication (No ACS) for our client. Recently, we have some concerns that they are the VPN connection is down. Whereas if I'm the one connected to the VPN, my connection is stable. Is there any point that we must consider up in the network. Is there a better configuration or solution that we could recommend to the customer as SSL VPN?

    3. If you want to use SSL VPN anyconnect secure mobility & we want to implement redundancy on the FW, how will the license work?

    Thank you!

    An AnyConnect-based VPN is the replacement recommended for remote IPsec VPN access. (source)

    AnyConnect can use SSL or IPsec (IKEv2) for transport.

    For an ASA redundant firewalls (running 8.3 (1) or later) any permit required AnyConnect are shared between them. that is, you just buy licenses for a member of the HA pair. (source)

  • What is the best export the configuration when you want to place your video on Facebook or youtube

    What is the best export the configuration when you want to place your video on Facebook or youtube

    Hi Robert,.

    Here are the high quality requirements of Facebook: How can I ensure my videos are of high quality. Facebook Help Center | Facebook

    Formats: this video file formats can I upload? Facebook Help Center | Facebook

    YouTube: recommended encoding download - YouTube Help Center settings

    Thank you

    Kevin

  • What is the recommended way to run a WebLogic Server in the background?

    I'm new to WebLogic Server and I was looking at the documentation. There are instructions for starting and stopping the servers under Linux, but they all seem to rely on the foreground process. What is the right way to run these processes in the background in a production environment? Is it just using nohup somewhere in an /etc/init.d/ script or y at - it another way I should run it?

    Meatwad,

    Of course, running the WLS process using nohup would put the process in the background. However, the recommended way to run the WLS servers on a production system would be to configure the node Manager and use it. Place the servers as a background process, it also provides additional features, that would be useful - for example, allowing the start and stop the console of administration with the ability to auto restart failed or stuck servers.

    For more information, please see the documentation.

    http://docs.Oracle.com/CD/E17904_01/Web.1111/e13740/starting_nodemgr.htm

  • What is the relationship of these two methods

    What is the relationship of these two methods: Manage consistency using JMX and consistency to manage using the brand manager (Grid Control)?
    Supplementary, substitute or mutualists?
    Can they be used together?
    What to feel, to use them to manage consistency?

    Thank you

    Enterprise Manager is constructed using the Foundation of consistency JMX. If the grid should be configured for the remote for the company nursery management work.

    Thank you

    Everett Williams
    Team coherence

  • What is the recommendation on the backup of a recovery catalog?

    While I understand "benefits of using recovery catalog as the RMAN Repository ' as described in

    http://download-UK.Oracle.com/docs/CD/B10501_01/server.920/a96566/rcmquick.htm#442214

    as well as things to note if you are using the unique control as the rman repository file,

    as described in "Monitoring the overwhelming control file Records" in http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmrepos.htm#446924

    I do not understand why in Backup and Recovery Advanced User Guide
    http://download.Oracle.com/docs/CD/B14117_01/server.101/B10734/rcmrepos.htm

    "Save often Recovery Catalog"

    Even if you need to restore the recovery catalog database by using a backup control file, you can use full backups folder in your catalog database restored recovery to restore the database target without using a backup of the target database control file.

    = > implies without doubt that we can use a different catalog of recovery we'll call it backupbackup to restore the recovery catalog

    "Choose the appropriate method for physical backups.

    Follow these steps when developing a strategy for RMAN backup to the recovery catalog database:

    * Run in ARCHIVELOG mode recovery catalog database so that you can do point-in-time recovery if necessary.
    * Set the retention policy to REDUNDANCY greater than 1.
    * Save the database on two separate media (for example, disks and tapes).
    * Run the base BACKUP of DATA PLUS ARCHIVELOG at regular intervals, to a Media Manager if available, or simply to drive.
    * Do not use a different catalog recovery as a repository for backups. = > This is in contradiction with the previous declaration
    * Set up automatic backup of control file on IT.

    so can I know what is the recommendation on the backup of a recovery catalog? should I use another recovery catalog to keep deposits from rman of the main primary catalog or simply use a feature of automatic backup of control file?

    Thank you

    To Catalog backup recovery, it is recommended to enable autobackup controlfile ON and save in nocatalog mode (IE without another recovery catalog).

    The doc States that: "even if you have to restore the database catalog of recovery using a backup control file, you can then use the full record of backups in your database to catalog recovery restored to restore the target database without using a backup of the target database control file.".

    What this means, is-
    The target database backup files are stored in the recovery catalog schema tables, not in the controlfile recovery catalog. When you are using a control file backup and restores them recover from the recovery catalog database, you won't lose target database backup files.

  • What is the best method to move from an iPhoto from one Mac to another library?

    What is the I best method for export/transfer my iPhoto on MBP to the iPhoto library library on my iMac? I prefer to keep my metadata intact; I guess that to do a package contents 'show' of my iPhoto and AirDropping the 'masters' library, I won't lose it? I'm under El Capitan 10.11.4 on Mac.

    I just want to explain my situation because maybe I'm missing something. I have SUMMER will use the photo library iCloud for synchronization on all my Apple devices and as a backup off-site. Fortunately, I realized soon as enough it would become a management NIGHTMARE. I downloaded everything from iCloud to my MBP and want to get it all on my iMac, so I can clean up the mess of duplicates and others.

    I couldn't synchronize with realism of the iCloud photo library to my iMac because I would have had to download about 150 + GB of data, so that I can download the 30 or GBs who were on my families iOS devices iCloud and the MBP. ICloud photo library interface is NOT well designed or easy to use - download directly from the cloud is heavy at best.

    All tips are appreciated, thanks.

    Simply connect the two Macs together and drag the library in the pictures of the new mac folder - or use an external hard drive to the Mac OS extended (journaled) format and drag through - then launch iPhoto on the new system

    Move the masters moves original photos and metadata exactly as they were imported without organization

    And iCloud library isn't an option for iPhoto - it requires OS X 10.10.1 and photos 1 or later version

    LN

  • What is the last recommendation on the use of Aperture with El Capitan system software?

    What is the last recommendation on the use of Aperture with El Capitan system software? I'm sure to BONE 10.11.x since I was a big user of Aperture?

    TIA,

    If you need a feature that has opening but Photos doesn't work, click here and follow the instructions.

    (141652)

Maybe you are looking for

  • App Store broken after updating iOS 10

    Any suggestions to fix my App Store which is stuck permanently in a loading State. Sometimes it will allow me to view (but only display) updated, but not any other part. This principle applies to the message apps as well Tried to turn off and on agai

  • Hello, I have problem when searching in firefox

    Hello I use firefox as my default browser for the last five years and I am facing a problem of the past 1 year and my problem is when I type something to look for I get an icon called pop-up opening research which shows that you have chosen to open s

  • HP Deskjet F2480: Windows 10 HP Deskjet F2480 drivers

    Hello I recently updated my Windows 7 to Windows 10 and my printer drivers do not work. I need the drivers dedicated for Windows 10 please. If they exist, that they are not displayed on the page of the driver for the F2480. Thank you.

  • Computer crashes when the view is plugged in

    Whenever I plug in my opinion to any computer the computer freezes a few seconds.  This is the version 01.01.06A I want to update to the latest version, but I can't do it without connecting to a computer. I formatted the drive and restored to factory

  • Need for drivers (Windows 7)

    I had to downgrade my laptop for windows 7 64 bit to win 8.  I use it for work and the software we use does not support windows 8.  Can someone tell me please in the right direction. HP Pavilion Product: F9J38UA #ABA Model: 17-E117DX