Apache VirtualHost Problem

I'm attempting to set up a virtual host in the apache server of the 9ias middle tier. I set up 2 virtual host containers, 1 to handle the normal server, and the second that is the real virtual server. The virtual hosts seem to work correctly except that I cannot get the second virtual host to serve up its default index.htm file. Its going to the main index.htm file that is defined in the main server.
Here's what I've got (this is a local intranet, so no www):
#This is the main server
<VirtualHost pallannarbornet.mw.na.pall.com>
ServerAdmin [email protected]
DocumentRoot D:\ora9ias\Apache\Apache\htdocs
ServerName pallannarbornet.mw.na.pall.com
ErrorLog logs/paaerror_log
CustomLog logs/paaccess_log common
Port 7778
</VirtualHost>
#this is the virtual
<VirtualHost aaxnet.mw.na.pall.com>
ServerAdmin [email protected]
DocumentRoot D:\ora9ias\Apache\Apache\xnet
ServerName aaxnet.mw.na.pall.com
ErrorLog logs/xneterror_log
CustomLog logs/xnetaccess_log xcommon
</VirtualHost>
The reason for the virtual host is to have an extranet accessible by vendors - I don't want them going to the normal company intranet. Anyone got any ideas here?

I am having the same problem. I've defined a virtual host (by name) to point to a new web site. Now I get the new website every time regardless of how I point to the server. The default page is no longer accessible by name or IP address.
Anyone have any ideas?
Thanks.

Similar Messages

  • Apache 2.0.58 JRun4 VirtualHost Problem

    I want to have one external IP address for a.my.com and
    b.my.com. I am using Apache as a web server and I am starting 2
    different JRun servers on 2 different machines. I have done
    following configuration at Apache httpd.conf. Note that my JRun
    servers are on other machine than Apache. how do i mention proper
    DocumentRoot element? It looks for my image files on the Apache
    machine instead of from JRun machine. .jsp page loads properly.
    <VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot "C:/Program Files/Apache Software
    Foundation/Apache2/htdocs2"
    ServerName acoms-sql.vistaar.com
    ErrorLog logs/error-acoms-sql.log
    <IfModule mod_jrun20.c>
    JRunConfig Verbose true
    JRunConfig Serverstore "C:/temp/acoms-sql/jrunserver.store"
    JRunConfig Bootstrap 10.10.4.32:51002
    JRunConfig Apialloc false
    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc .gif .do
    </IfModule>
    </VirtualHost>
    <VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot "C:/Program Files/Apache Software
    Foundation/Apache2/htdocs2"
    ServerName acoms-iis.vistaar.com
    ErrorLog logs/error-acoms-iis.log
    <IfModule mod_jrun20.c>
    JRunConfig Verbose true
    JRunConfig Serverstore "C:/temp/acoms-iis/jrunserver.store"
    JRunConfig Bootstrap 10.10.4.22:51002
    JRunConfig Apialloc false
    AddHandler jrun-handler .jsp .jws .cfm .cfml .cfc
    </IfModule>
    </VirtualHost>
    Thanks
    Suyog

    Are these image files in JRun Server? Then you should add
    mappings in your web.xml for handling it through JRun. For example
    if you want to serve gif files from JRun instead of Apache, then
    add the following in web.xml
    <servlet-mapping>
    <servlet-name>FileServlet</servlet-name>
    <url-pattern>*.gif</url-pattern>
    </servlet-mapping>
    If the Connector is configured for Coldfusion, then you need
    to add '.gif' in jrun-handler in httpd.conf additionally.

  • What's wrong with my Apache VirtualHost?

    I copied my websites from my PC to my new MacBook Pro and am not trying to set up virtual hosts, using the site Geobop as an example.
    It is located at /Library/Webserver/Documents/Geobop
    I copied my httpd.conf file to my Desktop, modified it with TextEdit, then used Terminal to copy it back to its original location (/private/etc/httpd), so it now looks like this:
    NameVirtualHost *:80
    <VirtualHost *:80>
    ServerName Geobop
    ServerAlias Geobop *.Geobop
    DocumentRoot /Library/Webserver/Documents/Geobop
    </VirtualHost>
    I also opened NetInfo Manager and added Geobop under machines. So under machines, I now have the following...
    broadcasthost
    Geobop
    localhost
    XAMPP (which I'll try to delete)
    In the bottom window, Geobop and localhost both register 127.0.0.1 for ip_address, ./local for "serves."
    When I type http://localhost/ into my browser, it displays the standard Apache welcome. But when I type in http://Geobop/, it displays my ONLINE website, http://www.geobop.org/, rather than my local Geobop site.
    Any idea where I went wrong? Thanks.

    I think you hit the nail on the head. I recall having some problems regarding case on my PC, so I'll try changing my server alias, as you suggested. In the meantime, I got the following ping results:
    david-blomstroms-computer:/Users/davidblomstrom root# ping Geobop
    PING geobop (127.0.0.1): 56 data bytes
    64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.093 ms
    64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.075 ms
    64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.081 ms
    64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.084 ms
    64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.087 ms
    64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.080 ms
    64 bytes from 127.0.0.1: icmp_seq=6 ttl=64 time=0.086 ms
    64 bytes from 127.0.0.1: icmp_seq=7 ttl=64 time=0.069 ms
    64 bytes from 127.0.0.1: icmp_seq=8 ttl=64 time=0.082 ms
    64 bytes from 127.0.0.1: icmp_seq=9 ttl=64 time=0.087 ms
    64 bytes from 127.0.0.1: icmp_seq=10 ttl=64 time=0.088 ms
    ^C
    --- geobop ping statistics ---
    11 packets transmitted, 11 packets received, 0% packet loss
    round-trip min/avg/max/stddev = 0.069/0.083/0.093/0.006 ms
    So I think everything's coming together. Thanks again for all the tips.

  • Coldfusion 10 Mappings and Apache VirtualHosts

    Im having a little difficulty figuring out coldfusion mappings with numerous virtualhosts in apache.
    It seems that CF10 handles things differently than CF8.   I used to be able to add mappings in the CFIDE and brose to the files directly, or in the case of a cfc, get the component info.  It seems that CF10 no longer follows mappings, or at least not externally.  We have come flex apps that rely on these mappings, and they can no longer get to the cfcs.  Adding aliases in apache did not fix the issue, since the CFC cannot read session variables from Application.cfm when invoked that way.  Does anyone have any ideas?

    Thank you for the reply Carl
    Unfortunately it is a development server on an internal / private network, so there is no public access.
    Regardless, it appears that the CF10 vs apache mappings were not the problem themselves.  We are able to access the cfc directly, and unless a method is specified, it will show the CFC explorer.
    The issue that is still plagung us is that the CFC seems to be including parts of the fusebox framework, though there is no application.cfm application.cfc or other automatically included page.  We cannot figure out what is causing this behavior.  Anyway, I have a seperate thread for that issue here :  http://forums.adobe.com/thread/1427279
    I apologize for not closing this thread out
    Thanks again

  • Apache FOP Problem with column width

    We are using Apache FOP to generate simple pdf documents out of reports.
    My problem is that the table in the pdf is as standard filled in with columns of same length.
    Further on the content of some table fields is to large or sometimes there is to much room.
    is there any possiblity to let fop react like html?
    The smallest table field size should be like the content. I don't want to adjust all my reports, cause there are really many reports with pdf printing.
    anyone an idea how to solve this with FOP?
    i have no BI pubisher or other reporting engines for this problem
    thx so far

    Oliver,
    I think what you're looking for is having your column width automatically adjusted based on the content of your column values. That is not possible with the built-in, generic XSL-FO template. What you can do is manually adjusting the column width to appropriate values on the print attributes page.
    Regards,
    Marc

  • APACHE SSL: Problem in converting from HTTP to HTTPS

    Hi,
    I have installed apache on my system with openSA flavour with SSL.I need to host my site with https instead of http.While starting apache i get the following error:
    [warn] pid file c:/opensa/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
    OpenSA/1.0.4 /Apache/1.3.27 (Win32) PHP/4.2.2 mod_gzip/1.3.19.1a DAV/1.0.3 running...
    OS is windows vista.
    Please revert back for solution to the problem.
    Best Regards,
    Anjan

    What has this to do with JSP/JSTL?
    Apache has it's own website and mailinglist.

  • Apache mod_proxy problem.

    Hi.
              We use an apache 1.3.19 webserver with mod_ssl 2.8.3 as a front-end to an application server WLS 5.1 sp 6. The application server is accessed with the apache module mod_proxy. We also use the apache plug-in for WLS mod_wl_ssl.so
              When upgrading to apache v. 1.3.24 and mod_ssl 2.8.8, the pages accessed with mod_proxy show up as "page not found" whereas the pages accessed with mod_wl_ssl works fine as before. Is this a known problem? and is there a way to upgrade apache and still use the mod_proxy module in apache?
              thanx,
              Jonn-Erik Farmen
              

    Hi.
    Try posting this question in the plug-in newsgroup.
    Regards,
    Michael
    Jonn-Erik Farmen wrote:
    Hi.
    We use an apache 1.3.19 webserver with mod_ssl 2.8.3 as a front-end to an application server WLS 5.1 sp 6.
    The application server is accessed with the apache module mod_proxy. We also use the apache plug-in for WLS mod_wl_ssl.so
    When upgrading to apache v. 1.3.24 and mod_ssl 2.8.8, the pages accessed with mod_proxy show up as "page not found",
    whereas the pages accessed with mod_wl_ssl works fine as before. Is this a known problem? and is there a way to upgrade apache and still use the mod_proxy module in apache?
    thanx,
    Jonn-Erik Farmen--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Safari 2.0.4 not opening - apache tomcat problem

    My friend has an imac flat panel and safary recently refused to open, giving the message "internal server error..... apache tomcat/5.0.28 logs.
    what does this mean? can anyone suggest the best way to sort this problem out please.

    1. You wrote: "all Safari files in the Library are gone."Can you be more specific? Which files? Which Library directory (there are several directories with the name Library).
    2. Are you running any Safari add-ons? BY this I mean third-party applications which are designed to add functions to Safari or expose hidden functions in Safari?
    3. Using Get Info, verify that you are the Owner and have Access of Read & Write on the following folders:
    • Your Home > Library folder.
    • Your Home > Library > Cookies folder.
    • Your Home > Library > Preferences folder.
    Check the Details sub-panel of the Ownership & Permissions panel of the Get Info window for each of the folders above. If you find you are either not the Owner, or do not have Access of Read & Write on those folders, make changes accordingly using the pop-up menus in the Details sub-panel,
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Apache DNS problems when control terminal closes

    So, I'm having the weirdest problem. I log in to my Mac OS X Snow Leopard server (10.6.4) using SSH. I sudo -s to root and then I run "apachectl start" to start the HTTPD server. Right, no problem here. It starts and serves webpages without a problem.
    Right, but then I log out of SSH and my Apache Error.txt log files start filling up with this:
    *could not lookup DNS configuration info service: (ipc/send) invalid destination port*
    Up until a point where the server stops responding. Googling a bit found this page: http://lists.apple.com/archives/unix-porting/2010/Jul/msg00001.html that doesn't concern Apache but clearly says that loosing the control terminal ended up messing up the process DNS requests. Since this doesn't concern Apache I'm unsure as to how I would apply his solution to my problem. As far as I know - "apachectl start" will start httpd in the background as a daemon. What am I doing wrong here? It worked fine with Mac OS X server 10.4 which I upgraded from yesterday. I also upgraded from httpd 2.2.4 to 2.2.16 - maybe there is something in the httpd.conf that I need to adjust this upgrade change?
    Anyone has any idea?

    I am not running the built in server, but rather a server I've compiled myself...
    There is little that I can provide for you here for a resolution, short of access into and digging through and debugging the (variant) Apache environment involved here, and what may turn into a whole lot of time and thought. The port is (obviously) missing something, or Apache has an incompatibility or a bug, or the build or system environment has an incompatibility or a bug.
    What can go wrong in these cases is chosen from a large set of potential weirdnesses.
    Start by searching for existing reports of that diagnostic (and any potential resolutions), and then by looking for differences between the Apple Apache environment and what you're working with, and then work your way into debugging the server.
    Or switch strategies and implementations entirely, and revert to the in-built Apache server, or switch to MAMP or some other pre-built server for Mac OS X, or switch to an OS that has the Apache configuration you're looking for.

  • WebLogic Apache bridge problems on uploading large files via HTTP post

    I have a problem uploading files larger than quarter a mega, the jsp
    page does a POST
    to a servlet which reads the input stream and writes to a file.
    Configuration: Apache webserver 1.3.12 connected to the Weblogic 5.1
    application server
    via the bridge(mod_wl_ssl.so) from WebLogic Service pack 4.
    The upload goes on for about 30 secs and throws the following error.
    "Failure of WebLogic APACHE bridge:
    IO error writing POST data to 100.12.1.2:7001; sys err#: [32] sys err
    msg [Broken pipe]
    Build date/time: Jul 10 2000 12:29:18 "
    The same upload(in fact I uploaded a 8 MEG file) using the
    Netscape(NSAPI) WebLogic
    connector.
    Any answers would be deeply appreciated.

    I have a problem uploading files larger than quarter a mega, the jsp
    page does a POST
    to a servlet which reads the input stream and writes to a file.
    Configuration: Apache webserver 1.3.12 connected to the Weblogic 5.1
    application server
    via the bridge(mod_wl_ssl.so) from WebLogic Service pack 4.
    The upload goes on for about 30 secs and throws the following error.
    "Failure of WebLogic APACHE bridge:
    IO error writing POST data to 100.12.1.2:7001; sys err#: [32] sys err
    msg [Broken pipe]
    Build date/time: Jul 10 2000 12:29:18 "
    The same upload(in fact I uploaded a 8 MEG file) using the
    Netscape(NSAPI) WebLogic
    connector.
    Any answers would be deeply appreciated.

  • Help please with apache installation problem!!!

    1)I installed Oracle9i Enterprise Edition.
    2)I installed Oracle9iAS standart Edition in separate Home.
    3)Apache HTTP and SSL server servicecould not start.
    I've got 3 errors:
    1.The Apache service named C:\ORACLE\iSuites\Apache\Apache\Apache.exe reported the following error:
    [Wed Aug 22 16:18:53 2001] [error] (2)The system cannot find the file specified: RegQueryValueEx(key System\CurrentControlSet\Services\OracleiSuitesHTTPServer\Parameters) <<<before the error.log file could be opened.
    More information may be available in the error.log file. .
    2.The Apache service named C:\ORACLE\iSuites\Apache\Apache\Apache.exe reported the following error:
    Syntax error on line 14 of c:/oracle/isuites/apache/apache/conf/mod__ose.conf: <<<before the error.log file could be opened.
    More information may be available in the error.log file. .
    3.The Apache service named C:\ORACLE\iSuites\Apache\Apache\Apache.exe reported the following error:
    AuroraService - directive already in effect for this Server <<<before the error.log file could be opened.
    More information may be available in the error.log file. .
    What do I wrong or what do I need to do?
    Thank you in advance
    Alex

    It looks like you have done an installation into a directory that previously contained 9iAS too.
    Look for a file named oracle_apache.conf. It is likely that a line with mod__ose.conf is mentioned twice - remove one line. Save the file. This will solve part of the problem.
    What leaves, your error "1" might indicate that the service was not created because during your prev install it was not removed correctly.
    The installation might contain more errors. Consider uninstalling the software, remove the ORACLE_HOME and services and do a reinstall...

  • Routers, apache, dsl, problems

    I have been running linux as a server for a couple of years, and just recently I have had trouble keeping the same ip address. I have yahoo sbc dsl connected to a linksys BEFSR41v2. I run ssh, ftp, and http, but every time someone accesses http from the outside, the wan ip address of the router drops, and restarts, thus allowing no one to view the webpage. This seemed to happen about the same time i upgraded apache to 2.0.50, and as soon as I upgraded my modem to a higher speed, I don't know if that affects it or not but I have never seen this problem before. Does anyone know what the problem is? Has anybody had the same problem? If so, what do I need to do to fix it?

    in the past, before i upgraded connection speed, i was running all of the services successfully. just recently did the connection not allow port 80.

  • Apache realm problems

    Hi,
    i'm running a 10.5.5 MacOsX Server , and i'm having some problems with Apache realms.
    Actually i'm running 5 sites on this machine , only one needs a Realm with Basic Auth.
    The protected folder is inside root's site (a subfolder).
    Allowed users of course are real local user created with Workgroup manager and have read/write permissions. "Everyone" has no permission.
    Anyway trying to connect to this url (www.site.com/realmfolder), an auth is requested (a classic apache one) but after login it reports an "Internal Server Error".
    Any Idea?

    Camelot wrote:
    How did you setup your realm? manually, or via Server Admin?
    This time via Server Admin, usually from Terminal.
    i'm not new on MacOsxServer , i use it since its early versions...
    Allowed users of course are real local user created with Workgroup manager and have read/write permissions. "Everyone" has no permission.
    Everyone must have no permission, otherwise apache realms doesn't make sense :-D.
    In order for Apache to serve the content you need at least read privileges for the _www user. If Apache can't read the files it can't serve them, regardless of who owns them.
    Permissions are ok i'm sure of that i'm running on this machine 6 sites without any problems.
    Problems come out upgrading from 10.5 > 10.5.5
    after login it reports an "Internal Server Error".
    What does the log say? /var/log/apache2/error_log (or /var/log/httpd/error_log if you're running Apache 1.3).
    here's some line from error log
    [Wed Dec 17 14:50:10 2008] [notice] Digest: generating secret for digest authentication ...
    [Wed Dec 17 14:50:10 2008] [notice] Digest: done
    [Wed Dec 17 14:50:10 2008] [notice] Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.7l PHP/5.2.5 configured -- resuming normal operations
    [Wed Dec 17 14:50:10 2008] [warn] long lost child came home! (pid 49875)

  • Deploying UIX based on Bc4J in Apache Tomcat Problem

    Hi,
    I need to deploy the UIX based on BC4J components application in Apache Tomcat, I install all nessesary jar files into web application directory, but i can't see uix pages based on the bc4j components. The non-bc4j uix pages appears fine.
    Here the Tomcat log information i am getting when i clicks on the one of the bc4j view page:
    2003-08-25 22:38:08 ViewUOM.uix: Parsing error, line 16, column 20: <registryDef> is not an understood element.
    This sometimes means the element's namespace (http://xmlns.oracle.com/uix/bc4j) is set incorrectly. This may also be an issue with the syntax of its parent element.
    2003-08-25 22:38:08 ViewUOM.uix: Parsing error, line 50, column 57: <rootAppModuleScope> is not an understood element.
    This sometimes means the element's namespace (http://xmlns.oracle.com/uix/bc4j) is set incorrectly. This may also be an issue with the syntax of its parent element.
    2003-08-25 22:38:08 ViewUOM.uix: Parsing error, line 170, column 53: <findRootAppModule> is not an understood element.
    This sometimes means the element's namespace (http://xmlns.oracle.com/uix/bc4j) is set incorrectly. This may also be an issue with the syntax of its parent element.
    2003-08-25 22:38:08 ViewUOM.uix: Parsing error, line 197, column 53: <findRootAppModule> is not an understood element.
    This sometimes means the element's namespace (http://xmlns.oracle.com/uix/bc4j) is set incorrectly. This may also be an issue with the syntax of its parent element.
    2003-08-25 22:38:08 ViewUOM.uix: Parsing error, line 209, column 53: <findRootAppModule> is not an understood element.
    This sometimes means the element's namespace (http://xmlns.oracle.com/uix/bc4j) is set incorrectly. This may also be an issue with the syntax of its parent element.
    2003-08-25 22:38:08 ViewUOM.uix: Parsing error, line 226, column 53: <findRootAppModule> is not an understood element.
    This sometimes means the element's namespace (http://xmlns.oracle.com/uix/bc4j) is set incorrectly. This may also be an issue with the syntax of its parent element.
    2003-08-25 22:38:08 ViewUOM.uix: Parsing error, line 237, column 53: <findRootAppModule> is not an understood element.
    This sometimes means the element's namespace (http://xmlns.oracle.com/uix/bc4j) is set incorrectly. This may also be an issue with the syntax of its parent element.
    2003-08-25 22:38:08 ViewUOM.uix: Parsing error, line 257, column 53: <findRootAppModule> is not an understood element.
    This sometimes means the element's namespace (http://xmlns.oracle.com/uix/bc4j) is set incorrectly. This may also be an issue with the syntax of its parent element.
    Could any one please help me and let me know if I am missing any jar files.
    Thanks!!!
    Mohammad Tahir

    Thanks, Markus
    After copying the BC4J runtime libraries into tomcat_install/common/lib , I am able to access all UIX pages based on BC4J.
    But I have now problem with WAR files, once I deploy my BC4J UIX web application using the WAR file, I can't access any UIX pages. According to Jdeveloper help we need to put WAR file into tomcat_install/webapps directory.
    Please let me know if you have any information about deploying the Web application using the WAR file, beacuse currently my all uix and classes are not packaged.
    Again Thanks for your help!
    Regards!
    Mohammad Tahir

  • Apache/PHP - Problem with shell_exec - ImageMagick - convert

    Hi,
    I have a problem with running external commands from a webpage written in php using Apache. In this case I'm trying to run convert, which is a program in ImageMagick.
    I can run most commands without any problems but when running these I get errors.
    shell_exec("/usr/bin/convert -alpha Set -filter bessel -resize '200'x'200' -density '200'x'200' 'image.eps' -channel A -fx 'B' -negate '/var/im/4.png' 2>&1");
    shell_exec("/usr/bin/convert 'image.eps' -alpha Set -filter bessel -channel A -fx 'B' -negate '/var/im/4.png' 2>&1");
    shell_exec("/usr/bin/convert '/var/im/4.png' -density '200'x'200' -resize '200'x'200' '/var/im/5.png' 2>&1");
    Error:
    convert: Error when saving the profile into a file '.' @ warning/opencl.c/autoSelectDevice/2303.
    The first command generates the new image but it is incorrect. The two others together gives me an output which looks correct but I still get the errors.
    Running either of these commands directly via shell works great and generates the correct output and no error messages.
    I would guess that the issue is how Apache handles the execution of shell_exec and the user that is used to run Apache. There is probably some restrictions that creates the issue but I'm note sure what.
    I have tried running Apache using a new user I created which can run the commands correct directly in shell or by running "php -f testfile.php" but not through a webpage via Apache.
    Any suggestions?
    I also asked in the ImageMagick forum if anyone wants to check that they think so far.
    http://www.imagemagick.org/discourse-se … =1&t=25418

    are your files being uploaded correctly ?
    i think u need to determine that first.

Maybe you are looking for

  • Error while posting Down Payment

    Hi, I got error while posting down payment in F-48. the error was "Special G/L Indicator P is not defined for down payment". Thanks,

  • How to use Class "CL_GUI_CHART_ENGINE" in a abap program ?

    Hi Guys, I want to display data in my internal table in the form of a Graph using class "cl_gui_chart_engine". I had a look at sample program given by SAP - GRAPHICS_GUI_CE_DEMO but need some help to understand how can we use our own data to be displ

  • Unable to index documents in the folder

    Hi,    Index server is unable to index the documents inside the folder.   I had created a WebDav folder(MyDocuement) and mapped it  to my personal drive. When I created datasource has this folder. I am able to index  the folder but not the content in

  • Getting info about explorer and language from WD for ABAP

    Hi, Is there is a possibility to get some information from the explorer in use,  of the frontend in a Web Dynpro ABAP application? We have some errors from our customers that not appears on our wotkstations. We need explorer (IE, Mozila Firefox, Goog

  • E-mail receipt formatting

    Hi I was wondering if it´s possible to format the receipt a responder gets, after filling out and sending a form? What we want is that the receipt looks excactly like the actual form, with all the fields (empty ones as well as the filled ones). Or at