How to configure httpd.conf for multiple websites on one webserver

So, right now I have my primary website on a pay-for domain. A friend of mine wants a website and I want to host his and my sites on the same server. For his website, I'll use a DynDNS address.
So, pretty much, I want to be able to go to my domain and get my site and go to his domain and get his site. I've spent hours trying to get VirtualHosts to work, but haven't gotten it to work yet.
PS. In Apache, I have User set to Administrator (my user name).
MacBook Pro 2.16   Mac OS X (10.4.9)  

First, set the user back to www or whatever it was. To do namebased virtual hosting, you'll need to change two things. The first is to add a NameVirtualHost directive to /etc/httpd/sites/virtualhostglobal.conf
This is one of the VirtualHost stanzas from my Linux box, you just have to adjust the paths for your machine:
<VirtualHost www.mydomain.com>
ServerAlias mydomain.com
ServerAdmin [email protected]
DocumentRoot /usr/people/httpd/html/www
<Directory /usr/people/httpd/html/www>
Options Includes
AllowOverride AuthConfig
</Directory>
ScriptAlias /bin /usr/people/httpd/cgi-bin/www
ScriptAlias /cgi-bin /usr/people/httpd/cgi-bin/www
</VirtualHost>
Restart Apache and you should be good to go. If there are errors, could you post them from /var/log/httpd/error_log ?
Roger

Similar Messages

  • Configuring Apache httpd.conf for Multiple Web Servers

    After successfully serving a single web site from my MacMini, I'm having trouble configuring httpd.conf to add an additional site. My httpd.conf file looks something like this:
    NameVirtualHost *:80
    <VirtualHost *:80>
    ServerName www.domain1.net
    DocumentRoot "/Library/WebServer/Documents/Domain1"
    </VirtualHost>
    <VirtualHost *:80>
    ServerName www.domain2.us
    DocumentRoot "/Library/WebServer/Documents/Domain2"
    </VirtualHost>
    Whichever domain I put first on the list is the one that gets served, as though apache isn't able to match the ServerName and defaults to the first vhost.
    Both domain1.net and domain2.us are registered through no-ip.com. Verizon, my isp, blocks port 80, so I configured AirPort Extreme to map public port 81 to private port 80. Dynamic DNS and port mapping works fine serving a single site.
    Are there other lines in httpd.conf that I need to edit?
    MacMini   Mac OS X (10.3.9)  

    John--
    I handle it slightly differently on my Macs. I have this line:
    NameVirtualHost *:80Then for my virtual hosts, I have the following:
    <VirtualHost *>
    ServerName localhost
    </VirtualHost>And then for the second one:
    <VirtualHost *>
    ServerName www.host2.com
    ServerAlias host2.com
    DocumentRoot "/Library/WebServer/dir2"
    </VirtualHost>The first server is the default one you get when you put http://localhost into the browser window, or if you were to request it by IP address.
    I don't use the default /Library/WebServer/Documents folder for any of the sites on my machine. For the first web site, I use something like /Library/WebServer/dir1. So I make that change up earlier in the config file.
    In your case, you'd want to add server aliases for the first one:
    <VirtualHost *>
    ServerName domain1.net
    ServerAlias www.domain1.net localhost
    </VirtualHost>Hope this makes sense...
    charlie

  • How to configure request manager service for multiple website in one web application

    I have set up sp 2013 as below:
     web application : wa1
    site collection : sc1
    sp site: site1, site2
    I used 2 WFE, 1 APP, how can I use request manager service to control  site1 to wfe1, site2 to wfe2?
    Awen

    That's not what i'd describe as load balancing.
    A better description would be load-isolation. In your description then if the load on site1 was large (and growing) but site2 was quiet then site1 would struggle and eventually become unable to handle the number of users but site2 would still be ok. That's
    fine from a QOS point of view but it's not the norm for load balancing. It would work in simple scenarios but the out of the box load balancing tools are much better suited than that sort of approach.
    This article shows how to configure the RMS and may help show how your request is difficult to configure:
    http://www.harbar.net/articles/sp2013rm2.aspx

  • How to configure FTP Adapter for multiple endpoints?

    Scenario: I have multiple ftp endpoints (5-15) and depending on some business logic, I have to send data to the right destination. With default ftp adapter configuration, I have to add a n adapter connection factory reachable via JNDI for each destination. But I want to read the different endpoints dynamically from e.g. a database and configure my ftp adapter at runtime. That's because the endpoints do change quite often.
    Interconnect had such a feature: FTP Sender: The FTP adapter supports sending to multiple FTP endpoints. This feature provides flexibility for sending messages to different remote FTP servers.
    Any ideas on that for SOA Suite?
    Thanks,
    Torsten

    For more documentation please send a mail to [email protected]

  • Configure Apache httpd.conf for struts requests

    Hi everyone,
    I am not sure if this is the correct place to ask this question, but I have been struggeling with this for a number of hours over the past few days and can't get it to work. I have a standard Apache2-Tomcat installation on a solaris machine. I have apache configured to talk to Tomcat to mod_jk.so and it wokrs fine for servlets and jsp. Now I have introduced struts to the picture and Apache does not seem to know what to do with the .do requests. I have configured httpd.conf according to a bunch of articles/posts that I have found on the Internet. Here is what a snippet of it looks like:
    # Load mod_jk module
    # Update this patch to match your modules location
    LoadModule   jk_module   libexec/mod_jk.so
    # Declare the module for <IfModule directive>
    #AddModule    mod_jk.c
    # Where to find workers.properties
    # Update this path to match your conf directory locaton (put workers.properties
    next to httpd.conf)
    JkWorkersFile /usr/local/apache2/conf/workers.properties
    # Where to put jk logs
    # Update this path to match your logs directory location (put mod_jk.log next to
    access_log)
    JkLogFile     /usr/local/apache2/logs/mod_jk.log
    # Set the jk log level [debug/error/info]
    JkLogLevel    info
    # Select the log format
    JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    # JkOptions indicate to send SSL KEY SIZE,
    JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories
    # JkRequestLogFormat set the request format
    JkRequestLogFormat     "%w %V %T"
    # Send everything for context /examples to worker named worker1 (ajp13)
    #JkMount     /examples/* worker1
    JkMount     /*.jsp worker1
    JkMount     /*.do worker1
    JkMount     /ValidationManagement/* worker1
    JkMount     /ActivityTracker/* worker1
    JkMount     /Bars01/* worker1
    JkMount     /Bars02/* worker1
    JkMount         /RMIS/* worker1
    JkMount         /Fars/* worker1
    JkMount         /Training/* worker1
    JkMount         /CoreDBSAP/* worker1
    JkMount         /iul/* worker1
    JkMount         /iul/*.do worker1
    JkMount         /PIForm/* worker1Here is the contents of the workers file:
    # Define 1 real worker using ajp13
    worker.list=worker1
    # Set properties for worker1 (ajp13)
    worker.worker1.type=ajp13
    worker.worker1.host=localhost
    #worker.worker1.host=10.221.13.50
    worker.worker1.port=8009
    worker.worker1.lbfactor=50
    worker.worker1.cachesize=10
    worker.worker1.cache_timeout=600
    worker.worker1.socket_keepalive=1
    worker.worker1.recycle_timeout=300I have also tried thigns like AddHandler jserv-servlet .do which I know shouldn't work since I am using mod_js.so.
    Can anyone help? I am in a crunch as I have to get this out to a client today. Thanks all!
    =======
    Found this in the mod_jk log. So, it looks like it is trying to map to the right JkMount. WTF?
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (445)]: Into jk_uri_jk_uri_worker_map_t::map_uri_to_worker, done without a match
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (459)]: Attempting to map URI '/iul/'
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (483)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match worker1 -> /iul/
    [Wed Nov 14 09:34:17 2007]  [mod_jk.c (1689)]: Into handler r->proxyreq=0 r->handler=jakarta-servlet r->notes=2670448 worker=worker1
    [Wed Nov 14 09:34:17 2007]  [jk_worker.c (90)]: Into wc_get_worker_for_name worker1
    [Wed Nov 14 09:34:17 2007]  [jk_worker.c (94)]: wc_get_worker_for_name, done found a worker
    [Wed Nov 14 09:34:17 2007]  [mod_jk.c (472)]: agsp=80 agsn=gwdevweb.amgen.com hostn=gwdevweb.amgen.com shostn=gwdevweb.amgen.com cbsport=0 sport=0
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (1741)]: Into jk_worker_t::get_endpoint
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (1367)]: Into jk_endpoint_t::service
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (257)]: Into ajp_marshal_into_msgb
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (425)]: ajp_marshal_into_msgb - Done
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (136)]: Into jk_open_socket
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (143)]: jk_open_socket, try to connect socket = 25 to 127.0.0.1:8009
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (159)]: jk_open_socket, after connect ret = 0
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (168)]: jk_open_socket, set TCP_NODELAY to on
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (177)]: jk_open_socket, set SO_KEEPALIVE to on
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (185)]: jk_open_socket, return, sd = 25
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (701)]: In jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 25 to 127.0.0.1:8009
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (737)]: sending to ajp13 #3903
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (1035)]: ajp_send_request 2: request body to send 0 - request body to resend 0
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (851)]: received from ajp13 #150
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (477)]: ajp_unmarshal_response: status = 302
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (483)]: ajp_unmarshal_response: Number of headers is = 3
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (537)]: ajp_unmarshal_response: Header[0] [Location] = [http://gwdevweb.amgen.com/iul/home.do?dept=biofit]
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (537)]: ajp_unmarshal_response: Header[1] [Content-Type] = [text/html;charset=UTF-8]
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (537)]: ajp_unmarshal_response: Header[2] [Content-Length] = [0]
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (851)]: received from ajp13 #2
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (1716)]: Into jk_endpoint_t::done, recycling connection
    [Wed Nov 14 09:34:17 2007] worker1 gwdevweb.amgen.com 0.023557
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (459)]: Attempting to map URI '/iul/home.do'
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (539)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match worker1 -> *.do
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (483)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match worker1 -> /iul/
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (539)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match worker1 -> *.doEdited by: nwahlberg on Nov 14, 2007 6:37 AM

    Ok, thanks for clarifying that. But, the poroblem still lies with Apache since that has to handle the incoming HTTP request and then forward that onto something that can handle the processing (in this case the servlet container Tomcat). Just like you have to tell Apache where to send requests to .jsp files, the same has to happen with .do. This piece seems to be working, but after it finds the worker it then doesn't know what to do. Clearly I am missing some setting that I have yet to find.
    Thanks,
    Nik

  • How to configure release procedure for rate contracts release

    Dear all,
    How to configure release procedure for rate  contract following are the requirements
    they are two release codes c1 & c2 <=100000,>=100000
                    if  c1 is not there c2 has to be approved
         Change in the value of the rate contract contract
         Change in the validity of the rate contract
         Addition of deletion of line items
    While using a non u2013 released rate contract in the PO an error message should shoot out.
    Also the logic should be changed while using the rate contract in the PO.
    The usage of the rate contract should be till the validity of the rate contract. i.e. the measurement should be end date of the rate contract and the PO creation date and not the delivery date of the PO. &
    It should be possible to refer existing valid rate contracts in purchase orders.
    Regards,
    bhaskar

    Hi,
    In SAP rate contract is known as value contract denoted with wk. The release procedure for rate contract is same as that of other contracts and scheduling agreements. The tables  for contracts will vary with SA (Scheduling agreement) .You may try and maintain condition records based on the customer combination and maintian the validity date of condition records as per your requirement.For contract and PO will have the same header/item table as EKKO/EKPO, and the release
    class in standard is the same FRG_EKKO, you can use the same for contract.
    To distinguish if it's a contract or PO, EKKO-BSART can be used.
    For contract EKKO-BSART will be MK or WK, while PO will have NB/UB etc..
    You can restrict the document type to set up the release strategy for only contract.
    Of cause, you can also create your own release class Z* for contract copying standard
    one FRG_EKKO via CL01/Class type 032, and then assign the class Z* to customizing:
    OLME:
    -> contract
    ->Release Procedure for Contracts
    ->Define Release Procedure for Contracts
    ->Release Groups
    If you have already created the PO release class.
    Assign a new chracteristic of Document Category -BSTYP
    Please check below link for detailed release procedure. I hope this wil help you out .Thanking you.
    http://wiki.sdn.sap.com/wiki/display/ERPSCM/RELEASE+PROCEDURE#RELEASEPROCEDURE-TABLESUSEDFORRELEASEPROCEDURES

  • How to configure Broadcast messaging for IC Webclient profile

    Dear all,
    How to configure Broadcast messaging for IC Webclient profile. what are the prerequisites for it?
    We are not using EP interface for IC Webclient, then where can I find broadcast messaging URL in SAP CRM system.
    I have checked for the relevant BSP application, but could not find.
    Please help me to configure the scenario successfully, your help will be highly appreciated.
    Best regards,
    Raghu ram

    Hi raghu
    In CRM Broad cast messaging application is CRM _BM,
    Go to easy access u2013 go to favourites u2013 select add other objects - select BSP Applications- then select CRM_BM Application.
    Select that BSP application and test it u2026
    `
    Regards,
    Narsimha

  • Best Practice while configuring Traffic Manager for Azure Website

    Hi Team,
    I want to understand What is the best practice while we configure traffic manager for Azure website.
    To give you the base, Here let me explain my requirement. I have one website which 40% target audiences would be East US, while  40% would be UK and rest 20% would be from Asia-pacific.
    Now, What I want is Failover + Performance based Traffic Manager Configuration.
    My thinking:
    1) we need to create 1 website with 2 instances in each region (east us, east asia, west us for an example). so, total 3 deployment of website. (give region based url for the website)
    2) create traffic manager based on performance and add 3 of those instances. that would become website-tmonperformance
    3) create traffic manager based on failover and add 3 of those instances. that would become website-tmonfailover
    4) create traffic manager and ?? don't know the criteria but add both above traffic manager here and take your final url for end user.
    I am not sure (1) this may be the right approach or not (2) if this is right, in the 4th step which criteria we should select while creating final traffic manager round-robin/ performance/ failover?
    after all these if use try to access site from US.. traffic manager will divert that to US Data-Centre or it will wait for failover and till that it will be served from east-asia if in configuration, east-asia is my 1st instance?
    Regards, Brijesh Shah

    Hi Jonathan,
    Thanks for your quick reply. actually question is bit different. Let me explain you different way.
    I was asking for recommendation from Azure Traffic Manager team. whether my understanding is correct or not.We want Performance with Failover.
    So, One azure website we have: take an example todoapp. I deployed that in 3 different region. now, I want to have performance based routing as well as failover based routing. but obviously I can't give two URL to my end user. so, at the top of that I will
    require one more traffic manager. So,
    step 1: I will create one traffic manager with performance criteria named: TMForPerformance.trafficmanager.com where I will add all those 3 instances (all are from different region so, it want create any issue.)
    step 2: I will create one more traffic manager with failover criteria named: TMForFailover.trafficmanager.com where I will add all those 3 instances (all are from different region so, it want create any issue.)
    step 3: I will create one final traffic manager with performance criteria named: todoapp.trafficmanager.com where I will add these two traffic manager instead of 3 different region's website.
    Question 1) Is it correct structure if we want to achieve Performance with Failover or Is there any better solution?
    Question 2) in step 3, what criteria we should select? performance/ round robin/ failover
    Regards, Brijesh Shah

  • Configuring optimizeit profiler for multiple kjs

    Hi,
    I am facing problems in configuring optimizeit profiler for multiple kjs. It
    works fine if i have a single kjs in my app server and i am able to read the
    profiler output. I am using iAS6.0sp2.
    When i try to change the script that attaches the profiler with kjs for
    multiple kjs all the kjs start on the same port i.e 10819. I want all the
    kjs to start on different ports so that i can read the profiler output for
    all of then at one go.
    If any body has done this before with success then please help me at an
    earlier date.
    This is very very urgent for me.
    sandhya

    There is three things important While you working with custom member ship and FBA to work. 
    1. If you have developed Custom membership extending SQLServerMembership provider then make sure to check for Machine Key. as internally if usese combincation of this to encrypt password, so if you used first userid using some other method of creating user
    then probably it does not use machine key in that configuration file.
    2. if you doing brand new implementation from base classes you probably want to check your query & stored Procedure. make sure to run sql profiler to see what query is getting fired.
    3. this one is most least and mostly not will be problem but do check Application Name,
    Note: Key to get this working is Machine key, Application Name, your custom code revisit, sql profiler and you should be good,
    Also do review FBA Code from CodePlex you can save significant time in developing from scratch.
    -Samar
    www.gosam.info
    Please remember to click Mark as Answer on the answer if it helps you
    Sr. Software engineer

  • How to apply List box for multiple selection of rows  in ALV report ?

    Hi Exprots,
    1: How to apply List box for multiple selection of rows  in ALV report ?
    Thanking you.
    Subash

    hi,
    check the below program.
    REPORT zalv_dropdowns.
    *Type pools declarations for ALV
    TYPE-POOLS : slis.
    *data declarations for ALV container,ALV grid, Fieldcatalogues & layout
    DATA: g_grid  TYPE REF TO cl_gui_alv_grid,
          g_custom_container TYPE REF TO cl_gui_custom_container,
          gt_fieldcat TYPE lvc_t_fcat,
          gs_layout TYPE lvc_s_layo.*INTERNAL TABLE AND WA DECLARATIONS FOR t517 A table
    DATA: gt_outtab TYPE STANDARD TABLE OF t517a INITIAL SIZE 0,
          wa_outtab TYPE t517a.
    START-OF-SELECTION.*Call to ALV
      CALL SCREEN 600.*On this statement double click  it takes you to the screen painter SE51.
    *Create a Custom container and name it CCONT and OK code as OK_CODE.
    *Save check and Activate the screen painter.
    *Now a normal screen with number 600 is created which holds the ALV grid.
    PBO of the actual screen , Here we can give a title and customized menus
    Here we also call the subroutine for ALV output.
          MODULE PBO OUTPUT                                             *
    MODULE pbo OUTPUT.
      PERFORM alv_output.
    ENDMODULE.                    "pbo OUTPUT
          MODULE PAI INPUT                                              *
    MODULE pai INPUT.
    ENDMODULE.                    "pai INPUT
    *&      Form  BUILD_FIELDCAT
    FORM build_fieldcat.
    DATA ls_fcat TYPE lvc_s_fcat.
    *Build the field catalogue
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name = 'T517A'
        CHANGING
          ct_fieldcat      = gt_fieldcat.
    To assign dropdown in the fieldcataogue
      LOOP AT gt_fieldcat INTO ls_fcat.   
    CASE ls_fcat-fieldname.
       WHEN 'SLART'.
    *is the first list box
            ls_fcat-drdn_hndl = '1'.
            ls_fcat-outputlen = 15.
            MODIFY gt_fieldcat FROM ls_fcat.
    is the second list box    
    WHEN 'ABART'.       
            ls_fcat-drdn_hndl = '2'.
            ls_fcat-outputlen = 15.
            MODIFY gt_fieldcat FROM ls_fcat.   
    ENDCASE.
      ENDLOOP.
    ENDFORM.                    "build_fieldcat
    *&      Form  ALV_OUTPUT
    FORM alv_output .*Create object for container
      CREATE OBJECT g_custom_container
             EXPORTING container_name = 'CCONT'.
    *create object for grid
      CREATE OBJECT g_grid
             EXPORTING i_parent = g_custom_container.
    Build fieldcat and set column
    *Assign a handle for the dropdown listbox.
      PERFORM build_fieldcat.
    *Build layout
      PERFORM build_layout.
    Define a drop down table.
      PERFORM dropdown_table.
    *fetch values from the T517A table
      SELECT * FROM t517a INTO TABLE gt_outtab.
    *Display ALV output
      CALL METHOD g_grid->set_table_for_first_display
        EXPORTING
          is_layout       = gs_layout
        CHANGING
          it_fieldcatalog = gt_fieldcat
          it_outtab       = gt_outtab.ENDFORM.                               "ALV_OUTPUT
    *&      Form  dropdown_table
          text
    -->  p1        text
    <--  p2        text
    FORM dropdown_table.*Declarations for drop down lists in ALV.
      DATA: lt_dropdown TYPE lvc_t_drop,
            ls_dropdown TYPE lvc_s_drop.
    First SLART listbox (handle '1').
      ls_dropdown-handle = '1'.
      ls_dropdown-value = '01 Primary school'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '1'.
      ls_dropdown-value = '02 Lower Secondary'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '1'.
      ls_dropdown-value = '03 Upper Secondary'.
      APPEND ls_dropdown TO lt_dropdown.
      ls_dropdown-handle = '1'.
      ls_dropdown-value = '04 Professional School'.
      APPEND ls_dropdown TO lt_dropdown.
      ls_dropdown-handle = '1'.
      ls_dropdown-value = '05 College'.
      APPEND ls_dropdown TO lt_dropdown.
      ls_dropdown-handle = '1'.
      ls_dropdown-value = '06 University'.
      APPEND ls_dropdown TO lt_dropdown.
      ls_dropdown-handle = '1'.
      ls_dropdown-value = '09 Other Establishment'.
      APPEND ls_dropdown TO lt_dropdown.* Second ABART listbox (handle '2').  ls_dropdown-handle = '2'.
      ls_dropdown-value = '10 Primary School certificate'.
      APPEND ls_dropdown TO lt_dropdown.
      ls_dropdown-handle = '2'.
      ls_dropdown-value = '20 Lower secondary/Junior high'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '30 High school diploma(B-levels)'.
      APPEND ls_dropdown TO lt_dropdown.
      ls_dropdown-handle = '2'.
      ls_dropdown-value = '31 Vocational'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '32 Matriculation'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '40 Specialist vocational certificate'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '50 College degree Level1'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '51 College degree Level2'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '52 Masters degree'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '60 Univ Degree level1'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '61 Bachelors degree'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '62 Masters degree'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '63 Licenciate'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '64 Doctors Degree Ph.D'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '89 None'.
      APPEND ls_dropdown TO lt_dropdown.  ls_dropdown-handle = '2'.
      ls_dropdown-value = '90 Unknown'.
      APPEND ls_dropdown TO lt_dropdown.*method to display the dropdown in ALV
      CALL METHOD g_grid->set_drop_down_table
        EXPORTING
          it_drop_down = lt_dropdown.ENDFORM.                               " dropdown_table
    *&      Form  build_layout
          text
    *layout for ALV output
    FORM build_layout .  gs_layout-cwidth_opt = 'X'.
      gs_layout-grid_title = 'ALV DROPDOWN LISTS'.
      gs_layout-no_toolbar = 'X'.ENDFORM.                    " build_layout
    endform.
    Edited by: S.r.v.r.Kumar on Jun 1, 2009 2:48 PM

  • How to configure Email notification for User login's in Exchange Infrastructure?

    How to configure Email notification for User login's in Client Machines?

    Hi ,
    Based on the description , you need to assign logon scripts to the end users via group policy and also use your exchange server as the smtp server in that logon script to relay emails to the internal recipients.
    Thanks & Regards S.Nithyanandham

  • How to configure SMTP server for osb 10.3.1

    Hi All,
    Can anyone share information on how to configure SMTP server for osb 10.3.1
    and then how to send an email from osb 10.3.1
    Thanks in Advance!!

    Thanks a lot!!
    I configured the same way. When I am sending email to an account on the same domain as my SMTP server is the sending of email is successful. But its giving error when I am trying to send an emain to an account which is on different domain. It giving error as "Operation has been cancelled"
    Please suggest something.

  • HT5534 How do i purchase keynote for multiple users without a MAC computer?

    How do i purchase keynote for multiple users without a MAC computer?

    Guy, you see, I understand you need to be with the Mac you want to download Keynote.
    And yeah, Keynote only works with the Mac OSX and iOS

  • WRT110 works for every website except ONE after login, help please

    I have a WRT110 version 1.0
    It works for every website, except one. And it works for that one website just fine, until I login. When I enter my username/password it accepts it then redirects me to the companies landing page. I can see that because the URL loading changes and it shows the Title in the page which indicates it connected, but then it just sits there 'loading', in the status bar I see the message: "Waiting for tools.domain.com... to load" or something like that. and it takes like 5 to 10 minutes, no joke, then it loads.
    If I connect my computer directly to the modem and bypass the router, then it loads just fine, very fast like everything else.
    But then when I re-connect my router and refresh the page, it does it again, takes forever, but I can instanly see the title of the page in the title bar.
    It works on every computer that I connect trough the mobile hotspot on my 4G verizon phone. but if it is through the router, every computer takes 5 to 10 minutes. Literrally.
    Anyone have this happen to them? If so, how did you fix it?
    Thanks,
    Richard

    Try the following settings:
    # Open up the browser on the desktop and on the address bar type 192.168.1.1 that will open up the Router setup page…
    # Lower the MTU (Maximum Transmission Unit) from 1500 to 1400 or less (usually found on your router's main/ basic setup page)
    # Then click on Security tab disable SPI Firewall Protection, uncheck Filter Anonymous Internet Requests...
    Now check the connectivity status.

  • How to get the data from multiple nodes to one table

    Hi All,
    How to get the data from multiple nodes to one table.examples nodes are like  A B C D E relation also maintained
    Regards,
    Indra

    HI Indra,
    From Node A, get the values of the attributes as
    lo_NodeA->GET_STATIC_ATTRIBUTES(  IMPORTING STATIC_ATTRIBUTES = ls_attributesA  ).
    Similarily get all the node values from B, C, D and E.
    Finally append all your ls records to the table.
    Hope you are clear.
    BR,
    RAM.

Maybe you are looking for