Multiple webservers with different ports

Hi!
I've set up a Mac OS X Server with a web service for wikis and blogs on the default port 80. In addition to that I'm using another webserver coming from my FTP application (a HTTP web-file-manager) on port 8000. I can connect to both servers, but to the FTP WFM just by defining port 8000 in the URL. (http://myserver.home:8000)
Now my question is how can I bypass the need to specify the port 8000 when connecting to the FTP WFM? Is there a possibility I can assign a subdomain for this port? (like http://ftp.myserver.home links to http://myserver.home:8000)
Thanks so much in advance,
criuz

You can do it via Apache's proxy module where the connection comes into Apache which simply passes the connection to the FTP server. The FTP server replies back to Apache which then relays the data back to the client.
To do this you'll need to enable mod_proxy and mod_rewrite (via Server Admin), then edit your web site's configuration file directly (you can't do this via the Server Admin GUI).
Then you have to somehow identify the traffic that should be proxied. There are two common options:
The first option is to setup a separate virtual host (e.g. 'www.yourdomain.com' for the main web site and 'www-ftp.domain.com' for the web file manager), where all traffic to this second site should be proxied.
The second option is to use some kind of path prefix such as /ftp so that http://www.yourdomain.com/ftp/anything.html is proxied to the FTP server.
Once you decide on that the process is the same, but you can't really continue until you decide that (you could, of course, use them both if you wanted).
In the first case where you want to proxy all traffic to the virtual host, edit the virtualhost's configuration file (either in /etc/httpd/sites/ or in /etc/apache2/sites/ depending on whether you're running Apache 1.3 or 2.x)
Add a line at the bottom like:
<pre class=command>RewriteRule ^/(.*)$ http://localhost:8000/$1 \[P,QSA,L\]</pre>
This somewhat cryptic command tells apache to match all URLs and proxy them to the server at localhost:8000.
The process is the same for the second form (where you use a URL prefix on the main site) except that you edit the main site's configuration file and need to edit the RewriteRule to match the leading string, like:
<pre class=command>RewriteRule ^/ftp/(.*)$ http://localhost:8000/$1 \[P,QSA,L\]</pre>
This tells Apache to only proxy requests that begin with /ftp in the URL. This /ftp is not passed to the target server, so you don't need to change URLs on the server, just remember to add them in your browser if you want to get to the FTP server.

Similar Messages

  • BO xi 3.1 u2013 schedule a template for multiple reports with different column

    Hi,
    I need to migrate the existing reports from SQL Server Reporting Services to BO, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to schedule a single template with different parameters for all reports in BO, or create a single template with lot of parameters for all reports. My question is how I might use one template to create multiple reports with different column orders in the reports?
    For example, client A has the following column order in their report: firstName, LastName, DateBirth, SSN. Client B has the following column order in their report: SSN, DateBirth, LastName, FirstName. Can I use one template to create these multiple reports?
    Thanks!

    Hi,
    The only approach I can think of is to create a template report which uses variables
    For each column you would need to variable
    v_columnAName and v_columnAValue
    v_columnAName would have a if statement in it
    =if([client]="clientA" or [client]="clientC";NameOf([firstName]);if([client]="clientB";NameOf([SSN]);NameOf([lastName]));
    v_columnA would have a if statement in it
    =if([client]="clientA" or [client]="clientC";[firstName];if([client]="clientB";[SSN],[lastName]));
    This would only work when you had a small set of clients.
    This might be more managable if it was done in the universe
    Regards
    Alan

  • Single invoice for multiple orders with different divisions

    Dear All,
    while I am trying to do single invoice for muliple orders with different divisons invoice is gettting splitted..In copy control vbrk routine I  tried with 003 and 007 etc..but result is same..what configuration need to be done for getting the single invoice
    Thanks In advance
    Regards
    CNRNAIR

    Hello
    single invoice for multiple orders with "different divisions" invoice is getting split
    FYI - Different Division means different Sales Area.
    So, sales doc (whether sales order, Delivery & Billing) is applicable to EXACTLY one sales area.
    Thus, combining docs with different sales area is practically impossible.
    Provided, you are using common division.
    Hope this assist you,
    Thanks & REgards
    JP

  • How to use the same OC4j server with different port number

    How to use the same OC4j server with different port numbers..?
    I have to OC4J installed on my machine on different hard disk drives....
    I want to be able to run both the server simultaneously..?
    is it possible ..it yes then how..?
    for that i have changed the port number of one server...
    but when i am trying to start the other server with different port number..it says that JVM -Bind already...
    Is there any clues...?
    Nilesh G

    In the config directory:
    default-web-site.xml: Change the port the HTTP listener listens on
    jms.xml: Change the port the JMS service listens on
    rmi.xml: Change the port the ORMI listener listens on.
    Or, you can add another web-site.xml file, and deploy your applications to 1 server, and bind the web applications to the different web sites. This way you only have to deploy your applications to 1 place.
    Rob
    Oracle

  • How can I edit multiple clips with different frame rates on the same timeline

    how can I edit multiple clips with different frame rates on the same timeline

    You do not want to edit material from different frame rates on one timeline. You CAN do this, but it is a very bad idea - and this is why.
    Once you establish the sequence frame rate - lets say it is PAL material at 25fps, any material that you drop into the sequence other than 25 fps will have to be changed to play at 25 fps. If the material you add is NTSC (29.97), FCP will DROP 5 frames per sec to bring the frame rate down to 25 fps. Which 5 get thrown away? Every 6th one. This yields a funky cadence that becomes even more complex as as there are also interlaced fields (DV/NTSC is an interlaced format). Oh, and by the way, the image sizes are different as well. DV/PAL has 576 lines of resolution and DV/NTSC has 480. FCP has to scale up the NTSC to fit the PAL frame.
    You do not want FCP adjusting these things on the fly. You want to do a thoughtful (and time consuming) conversion so that you end up with all your material in one format with the best possible image from the conversion process. Compressor can do an adequate job with Frame Controls turned on. The Natress Standards Conversion FCP plugin is another way to go. A third option is to find a post house that can do the conversion for you using a hardware based process.
    The good news is, once everything is in the same format, editing it will be painless and the output process very quick.
    Whatever frame rate/ image size you select, I'd suggest using ProRes for the codec. It is 4:2:2 color and will withstand color correction and composting with much more grace than any variant of DV based codecs.
    Have fun.
    x

  • Can I Turn off iMessage in a group text with multiple people with different devices? There's 1 person in the group text that doesn't use iPhone anymore and they can't see any messages that are sent unless we send as regular text individually.

    Is there a way to turn off iMessage for a group text that includes multiple people with different non-apple devices? When a message is sent, only the iPhone users can see the iMessage. Those without them cannot see the texts unless we send individual Text Messages or turn off iMessage completely.

    now I have this and it still doesn't work.
    Section "ServerLayout"
    Identifier "Simple Layout"
    Screen "Screen 1" 0 0
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Touchpad" "SendCoreEvents"
    InputDevice "Keyboard1" "CoreKeyboard"
    Option "OffTime" "1"
    EndSection
    Section "ServerFlags"
    Option "AutoAddDevices" "False"
    Option "DontZap" "false"
    EndSection

  • Multiple Orders with Different reasons on a Single day

    Hi,
    I am recently learning Device Management of IS-U Electricity. Now I have a problem with meter reading orders generated at the time of periodic meter reading with reason 01 and different system generated orders with reasons like 22, 21 , 16 and 11 which are the orders get created internally based on device replacement and modification.
    If the scheduled meter reading date lies on the day or the day before of device replacement or modification, the meter reading for the periodic order is getting prorated based on the meter reading entered at the time of replacement or modification. This is what I dont want.
    Is it possible to have multiple orders with different reasons on the same date? Any configuration changes are welcome.
    - Arghya

    Hi,
    You can acheive this using following config changes.
    SAP Utilities --> Device Managment -->Meter Reading --> Meter Reading Order -->Order Creation --> Define Automatic Interpolation for Meter Reading Reason.
    Uncheck  the 'Auto Interpolation' flag for Meter Reading reason 01.
    This will not use the Replacement or Modifiaction read.
    Let me know if anything more is reuiqred.
    Thanks and Regards,
    Ranjit Thakur.

  • Define Multiple Taxes with different Accounts

    Dear Members
    I have defined tax in Oracle R12 . and defined multiple rates. these all tax deducted in a single Tax account. but my requirement is, there should be multiple taxes with different acccounts. when I define multiple taxes the system gives error unable to Calculate the tax. when I only enable one tax it works.
    Current sanario tax rates
    2% Account # 666461
    3% Account # 666461
    3.5% Account # 666461
    Required Sanario
    2% Account # 666461
    3% Account # 666462
    3.5% Account # 666463
    Should be different
    Do you have any Idea How I configure it.

    Hmmm, thought I did that but ran into issues...Will give it a harder look.
    Thank you for your reply, tt2...BTW, I've been reading these forums for awhile now and your replies in other posts have helped me so thanks for all of them, too...

  • Please help me creating a new listener with different port#.

    I have two instances in a server. both have different homes. I want to create a seperate listener for the second one i created.
    But that is not happening.
    here i tried to give name from LISTENER TO LISTENER1 & Port# from 1521 to 1524.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /apps2/oracle)
    (PROGRAM = extproc)
    LISTENER1 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = aixth53)(PORT = 1524))
    When I check lsnrctl status with LISTENER1 , it still shows the other instance home with port#: 1521
    Please help me creating a new listener with different port#.
    Thanks,

    marist89 wrote:
    sb92075 wrote:
    marist89 wrote:
    sybrand_b wrote:
    The listener is a broker only and doesn't play any role in normal communications.
    It just forks a process or a thread, and that's it.And the listener is a single point of failure. Listener goes down, you can't connect to the db. That's why you need two listeners.If listener one goes down, then listener two goes down for exact same reason since it is a single executable file.I'm not playing tit-for-tat with you. Fact is, there are situations where people who are not you might want to use more than one listener.Some folks might want to jab a sharp pencil into their eye, too.
    Just because you can do something, it does not necessarily mean it should be done.

  • Printing multiple PR with different line items in smartform

    Hello all,
    I have an requirement to print multiple PR with different line items on different pages.
    So,suppose two PR are there,PR1 and PR2 with n no of line items,then i should get each PR on different page with its line items.
    Note: One loop processing is already there on line items.
    Best Regards,
    Anurodh

    Hi,
    Fetch all the PRs and its corresponding items into 2 different table. Then Loop at the internal whihc contains the PRs and  call the 2nd internal table for its items and call the FM for smartforms and pass them.
    LOOP AT it_PR.
      fetch all the items into it_PR_item
      Call Function Fnam
      Passign the it_PR_item
    ENDLOOP.
    Regards,
    Aditya

  • How to go about multiple inclination with different data selection in Delta

    We have to copy large amount of data ( more than 42lak of recodes) selectivly from on ODS to other ODS. in delata load ( BW 3.5 enverioment)
    I thought of loading data in slices through delta loading with selection condition.
    step 1> Do The initialization with selection condition as for calyear =2001 ( Init without data transfer )
    step 2> Take the delta load .. it will take all delta record with same selection
    step 3> Now I want to do Initialization with selection condition as for calyear =2002
    step 4> take the delta now it will take delta for year 2001 and 2002 both Right ?
    Here what problem I am facing.. while doing 2nd time initialization it prompt me to delete the last  initialization request form scheduler menu.
    if i delete the last request .. will it take the delta  for previous initialization selection  and new initialization selection. ?
    Please advice how to go about multiple inclination with different data selection in delta loading.
    Looking forward your reply.

    Hi,
    step 1> Do The initialization with selection condition as for calyear =2001 ( Init without data transfer )
    step 2> Take the delta load .. it will take all delta record with same selection
    step 3> Now I want to do Initialization with selection condition as for calyear =2002
    step 4> take the delta now it will take delta for year 2001 and 2002 both Right ?
    You are correct with this scenario normally. The message you mentioned normally comes up when you open a infopackage and don't change the selection first or in case you have overlapping selections with an already done init.
    regards
    Siggi

  • Running the same code multiple times with different paramters automatica​lly

    Hi guys,
    I want to run the same code multiple times with different paramters automatically. Actually, I am doing some sample scans which takes around 2 hours n then I have to be there to change the paramters and run it again. Mostly I do use folowing paramters only
    X_Intial, X_Final, X-StepSize
    Y_Intial, Y_Final, Y-StepSize
       Thanks,
    Dushyant

    All you have to di is put all of the parameters for each run into a cluster array. Surround your main program with a for loop and wire the cluster array through the for loop. A for loop will autoindex an input array so inside the for loop you just have to unbundle the cluster to get the parameters for each run.
    Message Edited by Dennis Knutson on 07-13-2006 07:50 AM
    Attachments:
    Cluster Array.JPG ‏9 KB

  • Design a single template for multiple reports with different column order

    Hi,
    I need to migrate the existing reports from SQL Server Reporting Services to Crystal Report 2008, and the column order in the report is very important to the clients since clients have existing code to ingest these reports into their database. Now I want to create a single template with lot of parameters for all reports. My question is how I might use one template to create multiple reports with different column orders in the reports?
    For example, client A has the following column order in their report: firstName, LastName, DateBirth, SSN. Client B has the following column order in their report: SSN, DateBirth, LastName, FirstName. Can I use one template to create these multiple reports?
    Thanks in advance.

    -As I mentioned you can find Template Field object in Insert menu of crystal report Designer 2008.
    As soon as you select Template Field object you will be able to see a box beside ur mouse cursor. Drag and drop this box at required place. Now when you place this object in report you will get some thing like this "<TemplateField1>" listed under Formula Fields tree. Double click "<TemplateField1>" formula to add your conditions.
    -I have not tested it for large amount of Customers. However as the number of customer increases the number of conditions will get increased.
    For the customer that want the same ordering of columns you can put those customers under one condition.
        for Example...
              if(?Client in ['clientA','clientA']) then
                        <TableName>.<Field>......
    -What do you mean be 40 columns? Do you mean 40 fields or you want to show 40 columns in report? Please elaborate.
    Regards,
    Amrita
    Edited by: Amrita Singh on May 21, 2009 7:54 AM

  • Multiple profiles with different cache settings

    I want to have multiple profiles with different settings for the cache. I'll call them ProfileOne and ProfileTwo for simplicity's sake. ProfileOne I want to clear its cache on exiting Firefox and on ProfileTwo have it retain its own cache. I have already setup both profiles and configured them accordingly with ProfileOne's privacy settings for Clear History > Cache checked so it clears on exit and ProfileTwo is not set to clear anything on exiting.
    The main issue is that after doing something with ProfileTwo then switching to ProfileOne, upon exiting ProfileOne it also deletes ProfileTwo's cache. I have tried using the profile manager to create the profile in a different location than default to no avail. Is there any way to set it so ProfileOne's cache can still be cleared on exit without affecting ProfileTwo's cache?

    After checking a few different options, it looks like the add-on Better Privacy provides the options I need for LSO management and does separate HTML cookies from Flash cookies nicely and lets me save specific site's LSOs. Thanks for the assistance!

  • Radar chart with multiple KPIs with different scales in dashboard4.0

    Hi Experts,
    How to create a radar chart which is having multiple KPIs with different scales. ?
    Thanks in Advance
    Saidulu

    Hi Sai,
    Customizing the chart is not possible, example the data in you criteria is like the below.
    Take four row based chart to display the row based values, if the columns are having different values. Take column based chart if the difference in row based, hope you got it.
    Use the label in combo box and use the dynamic visiblity to call the chart from the back.
    Hope you got the idea.
    --SumanT

Maybe you are looking for

  • Exporting and importing a field value from one screen to another in BSP

    Hi All, I am working on a BSP application which consists of multiple screens. I have to export the value corresponding to a value selected from a drop down and import it in another screen so that in the next screen values can be populated corrspondin

  • Question about DOM XML

    Hi Experts Do you Know how can I write I DOM XML the header of file I Mean <?xml version="1.0" encoding="iso-8859-8"?> Regards Yossi

  • Firefox 5 disabled my mcafee LIVE site advisor...can i get the version 4 reinstalled onto my comp?

    in order for me to run my mcafee LIVE site advisor, i had to switch over to Internet Explorer, which i dont care to use after using Mozilla for a number of years....Mcafee is in process of making this compatible, but, in the meantime....can i get Moz

  • Lightroom and new Raw Converters

    In Photoshop we will get about each 3 months new Raw-/DNG-converters. This was in CS, CS2 and I think it will be also in CS3. Does anyone know, how to integrate new raw-converters in Lightroom? Will we get parallel with raw Converter 4.0 / 4.1 / 4.2

  • Inner class problem

    Hi. I want 100 buttons to be displayed, 10 rows with 10 cols. To create all buttons I do a loop, and calls a function that creates and adds the buttons to the panel. Here is the code sample. <CODE> // Here I adds the buttons for (int i = 0; i < 10; i