Using SSL with Apache Virtual Hosts

I am configuring Apache to use 3 virtual Host(Named base virtual Host).
I would like to run SSL on two of the 3 virtual host.
Do I need to gen a certificate for each virtual host or can I just use 1?

William,
I thought I'd give my 2 cents on this...
Is there any particular reason as to why you are using named based virtual hosts?
Apache recommends using IP based virtual hosts over name based virtual hosts.
Go to http://httpd.apache.org/docs/dns-caveats.html and read the discussion on IP based virtual hosts and name based virtual hosts. The document describes the drawbacks to using the name-based approach.
Hope this helps!
-Manjeet

Similar Messages

  • Struggling with Apache Virtual Hosts

    Hi Folks,
    I'm having trouble getting Apache virtual hosts to function
    on my work PC.
    PHP works. The PHP info page loads fine. I just can't get any
    virtual hosts
    to function. Get "Cannot find server or DNS Error."
    The identical configuration on my home machine works fine.
    Some details
    below.
    Windows HOSTS file:
    127.0.0.1 localhost
    127.0.0.1 mvhms
    Apache 2.0 virtual host settings in httpd.conf file:
    # Use name-based virtual hosting.
    NameVirtualHost *:80
    # Edited by Phil 3/15/2007
    <VirtualHost *:80>
    DocumentRoot c:/htdocs
    ServerName localhost
    </VirtualHost>
    <VirtualHost *:80>
    DocumentRoot c:/htdocs/mvhms
    ServerName mvhms
    </VirtualHost>
    Any help greatly appreciated. Thanks.
    Phil
    Work PC is on a LAN
    Windows XP Pro
    Apache 2.0.59
    PHP 5.1.6
    Reference: PHP for Dreamweaver 8

    Hi Bev,
    I tried various local IP addresses with no luck.
    However, I do think it may be a local LAN or HOSTS file
    issue. If I remove
    the proper references from my home HOSTS file, I get the
    identical behavior
    as my work machine.
    Is there a Windows HOSTS file bypass or Group Policy setting
    that our IT
    department may have changed?
    Phil
    "bsoliman" <[email protected]> wrote in
    message
    news:etcioa$839$[email protected]..
    > You're welcome, Phil.
    >
    > Hmmm, in that case then I'm stumped too. If the exact
    same setup is
    > working
    > for you at home, then I have a sneaking suspicion that
    it has something to
    > do
    > with being on a LAN. Unfortunately, that's just a gut
    instinct and I
    > couldn't
    > tell you what the acutal problem might be. Hopefully
    someone else will
    > come
    > along that can help you out.
    >
    > This is a total shot in the dark: Why not try changing
    127.0.0.1 to your
    > machine's IP address on the LAN? I'm obviously grabbing
    at straws here,
    > but I
    > figure trying something (no matter how farfetched) is
    better than sitting
    > around feeling aggravated while waiting for help :-)
    >

  • How to configure Apache Virtual Hosts?

    Hi, I was wondering, how does configure Apache virtual hosts for Mac OS X Client 10.4.5? At this time, I have added
    NameVirtualHost *:80
    <VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot /Library/WebServer/Documents/janus
    ServerName janus.php.test
    ErrorLog /private/var/log/httpd/janus.php.com-error_log
    CustomLog /private/var/log/httpd/janus.php.com-access_log common
    </VirtualHost>
    Finally, when I try to use the name in the browser, I get the following error message:
    Safari can’t find the server.
    Safari can’t open the page “http://janus.php.test/” because it can’t find the server “janus.php.test”.
    Well, I must go and thanks in advance.
    Peace,
    -Conrad

    If you want to use the fqdn you defined and can/do not want to register it as a Internet Domain you can add it to the hosts file in /etc/hosts if you are comfortable using terminal and the shell
    open a terminal
    and use the following commands
    cd /etc
    sudo vim hosts
    (you will be prompted for your password here, enter it and hit return)
    in vim scroll to the last line which will look like
    ::1 localhost
    type
    i
    (you are now in insert mode)
    type the following line
    192.168.0.15 janus.php.test
    (replace the ip address with the ip address of the host in question)
    hit Control-C
    type
    :w (vim will confirm in the last line)
    type
    :q
    you are back at the terminal
    test your new hosts file by typing
    ping janus.php.test
    Hope this helps
    Mike

  • Any Problems using SSL with Safari and the move with Internet explorer to require only TLS encryption.

    Any Problems using SSL with Safari and the move with Internet explorer to require only TLS encryption.

    Hi .
    Apple no longer supports Safari for Windows if that's what you are asking >  Apple apparently kills Windows PC support in Safari 6.0
    Microsoft has not written IE for Safari for many years.

  • Configuring SquirrelMail to use SSL with SMTP

    I ran the conf.pl script to have SquirrelMail access my IMAP server via SSL, and everything works.
    I then tried to use SSL with SMTP as well but when I used SquirrelMail to send mail, I got an error saying "Can't open SMTP stream". What is the correct setting to tell conf.pl to use?
    I had secure SMTP enabled and chose CRAM-MD5 for the authentication method.
    I actually have my web server and smtp server on the same machine, so this is more of a hypothetical question. In the end I turned off secure SMTP and set authentication back to none.
    Ben

    I don't have access to logs right now, but to answer your other question, SSL works fine when sending from Mail.
    But with Mail, I supply the username and password; which user does SquirrelMail use to send?

  • PlsqlCGIEnvironmentList for multiple apache virtual host

    a question that's still related to the following thread
    APEX Charts - Error XML Loading falied
    APEX Charts - Error XML Loading falied
    Hi,
    I have multiple apache virtual host for my apex instance. I have trouble loading the flash chart in my virtual hosts.
    I followed the instruction on the above link, it works.
    PlsqlCGIEnvironmentList HTTP_HOST=<my friendly URL>:80
    My question is what if I have multiple virtual hosts?
    Has anyone done this before?
    Thanks.
    -Joel

    Hi Jari,
    You mean these parameter
    PlsqlCGIEnvironmentList SERVER_NAME=external.server.com
    PlsqlCGIEnvironmentList SERVER_PORT=80
    How are those different from HTTP_HOST and what if I have multiple host (virtual)?
    Cheers,
    -Joel

  • Apache virtual host with OSX Server?

    I have been running OSX Server for a while now, and just recently I decided to get McMyAdmin for my Minecraft server. The web client for McMyAdmin runs on port 8080, but I wanted it on port 80. I wanted to use it with my domain, so I just created a sub domain and pointed it to my server. The problem is that OSX Server apparently doesn't let me use port 80, even when websites are turned off. I decided to delete Server and just use plain apache. This worked until I realized that my website was only accessible locally. I have all the correct ports forwarded, etc. But I get the error:
    Response Error.
    Technical description:
    502 Bad Gateway - Response Error, a bad response was received from another proxy server or the destination origin server.
    when I try to connect from outside my network. This is probably just some simple thing I missed but it would be nice if someone could just point out what I did wrong here. Back to the point, I want to know how to run the proxy to my web client on port 8080 AND ALSO run OSX Server with or without apache virtualhost.
    Thanks in advance,
    Eamon

    Web is stupidly easy - Apache has extensive support for multiple virtual hosts in a single server and will happily support as many domains/hostnames as you can throw at it.
    Mail is a little trickier since it needs to hook into some kind of directory server to validate user addresses.
    Mac OS X's Open Directory does support this, but it's a little cumbersome (basically every user has to exist in the main Open Directory domain as well as having a secondary email address(es) in the other domain(s).
    This can get especially tricky when you have users with the same shortname in different domains - for example if you give [email protected] a secondary email address of [email protected] and you then get a new user [email protected], you can't give the third 'joe' the address 'joe' in Open Directory since that's already taken. This means he'll have to login using different credentials from his email address. Confused yet? You bet.
    If you're prepared to eschew Open Directory you can just use Postfix's built-in support for virtual hosting, but it's a little more complex to setup and support and is entirely command-line based (i.e. there's no GUI for setting it up or supporting it).
    So, for that reason you might be prepared to setup multiple virtual machines for each domain. It really depends on how much the domains are related (if at all).

  • Does Apache Virtual Hosting work with localhost?

    I'm a newbie trying to learn how apache web server works. I've activated apache web server on my Mac PowerBook G4, and tweaked the config file to get PHP, SSI and CGI working.
    If I type the url http://127.0.0.1/ I get the same page as http://localhost/
    If localhost is the domain name for the address 127.0.0.1, can I assign other domain names to 127.0.0.1 using apache's virtual hosting?
    Ti Powerbook G4   Mac OS X (10.4.4)  

    localhost is defined as 127.0.0.1. You can use them interchangeably.
    As for virtual hosts, sure. Apache doesn't care.
    There are two ways of running virtual hosts.
    Port-based virtual hosts use a port number other than the standard 80. They can be accessed via something like http://localhost:8000/
    Name-based virtual hosts look at the hostname header in the request to work out which site to serve. You can run any number of sites on the same port number this way, but you need to be able to control DNS so that it points to your machine.
    If you are just testing this locally you can edit /etc/hosts to add whatever hostnames you like;
    127.0.0.1 localhost my.testsite.com me.mydomain.com
    Now when you enter 'my.testsite.com' or 'my.mydomain.com' in your web browser, /etc/hosts will resolve this to 127.0.0.1 and you'll talk to your local apache server.
    Note that the localhost entries don't have to be in your domain. You can use this to override any real hostname you like.
    Of course, if you want remote users to access this site you'll need to setup something in the DNS, or edit their /etc/hosts files individually.

  • OAM Webgate installation on APache with multiple Virtual hosts?

    Hi I have customer who is having One Single APache web server and having two different applications configured as different Virutal hosts in the single server.
    requirement is , Each application should be protected by OAM Webgate and each application have seperate session configurations. So, How can we handle this ..
    I am thinking to install webgate for each application virutal Host to fulfill this requirement but i am worrying about the Webgate installation since both applications on single Apache server and single httpd.conf file.
    Really appreciated if anyone suggest me the approach of how to fulfil this requirement.
    -Srini
    Edited by: user567398 on Jun 17, 2011 3:00 PM

    Hi Srini,
    You can use a single WebGate - in the "Preferred HTTP Host" setting for the WebGate in the Access System Console, specify SERVER_NAME. OAM will then use the name of the Virtual Host (as returned by Apache) when evaluating policies, and you can have different policies by having different Host Identifiers for the two (or more) virtual hosts.
    Regards,
    Colin

  • Installing 2 ssl certificate on one machine with two virtual hosts

    Hi,
    If you have a managed server in a cluster that has two virtual hosts running
    on it how can you intsall the ssl certificates for both virtual hosts, in
    the admin console.
    any help would be great!

    OK....I figured it out.
    I was able to set the IPV4 properties on the ones needing filtering to use the IP or OpenDNS as the primary DNS and my server address as the secondary and that works.
    I removed OpenDNS forwarder from the server, flushed dns on all machines and so far it's working perfectly.  The machines that are not going to be filtered just go through the server for DNS.
    Hopefully, after a while it doesn't break down!

  • How can I connect to multiple WLS instances from a single Apache virtual host

    Configuration : WebLogic 5.1 SP8 & Apache
    I need to be able to have a configuration that looks something like this.
    www.company.com/x -> WL cluster01
    www.company.com/y -> WL cluster02
    In all the examples that I have been able to find they alway defines the the WL
    connection for the entire virtual host, but I need to be able to do it on a location
    basis is that possible?
    Thanks
    Jens Schutt

    httpd.conf:
    <VirtualHost 172.17.9.24:443>
    DocumentRoot "/www/X"
    ServerName qawebivesta.qa.livecapital.com
    ErrorLog /usr/local/apache/logs/qaweb1.error_log
    TransferLog /usr/local/apache/logs/qaweb1.access_log
    SSLEngine on
    SSLCipherSuite
    ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
    SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt
    SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key
    <Files ~ "\.(cgi|shtml|phtml|php3?)$">
    SSLOptions +StdEnvVars
    </Files>
    <Directory "/usr/local/apache/cgi-bin">
    SSLOptions +StdEnvVars
    </Directory>
    SetEnvIf User-Agent ".*MSIE.*" \
    nokeepalive ssl-unclean-shutdown \
    downgrade-1.0 force-response-1.0
    Debug ON
    DebugConfigInfo ON
    <Location /ivesta/>
    SetHandler weblogic-handler
    WebLogicHost qawlgc1
    WebLogicPort 7001
    </Location>
    <Location /TMPPhase2>
    SetHandler weblogic-handler
    WebLogicHost qawlgc1
    WebLogicPort 11001
    </Location>
    </VirtualHost>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /TMPPhase2 works fine, but when I try to access /ivesta I get a 404 from WebLogic
    "https://qawebtmp.qa.livecapital.com/ivesta/index.jsp?__WebLogicBridgeConfig
    Weblogic Apache Bridge Configuration parameters:
         WebLogic Cluster List:
              General Server List:
                   Host: 'qawlgc1' Port: 11001
              DefaultFileName: ''
              PathTrim: ''
              PathPrepend: ''
              ConnectTimeoutSecs: '10'
              ConnectRetrySecs: '2'
              HungServerRecoverSecs: '300'
              MaxPostSize: '-1'
              DynamicServerList: ON
              StatPath: false
              CookieName: WebLogicSession
              Idempotent: ON
              FileCaching: ON
              DisableCookie2Server: OFF
              QueryFromRequest: OFF
              Build date/time: Jun 25 2001 15:09:34
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    This should have been connecting to my 7001 instance not the 11001.
    Thanks
    Jens
    "Eric Gross" <[email protected]> wrote:
    What do you mean the wrong port? Post the complete output from
    WebLogicBridgeConfig as well as the URL you used.
    Also, paste the weblogic relative portions from your httpd.conf
    Thanks,
    Eric
    "jens" <[email protected]> wrote in message
    news:[email protected]...
    I also used ?__WebLogicBridgeConfig to verify that it did pick up thewrong port.
    Here is my build date for mod_wl.so in SP10
    Build date/time: Jun 25 2001 15:09:34
    Thanks
    Jens
    "Eric Gross" <[email protected]> wrote:
    Make sure you are using the latest plugin. As well, add parameter:
    DebugConfigInfo=ON and make a request with a query paramater of
    ?__WebLogicBridgeConfig and you should then see the build date/time.
    We can
    then see if you are indeed using the latest plugin.
    It is not a possibility to get the source.
    Regards,
    Eric
    "jens" <[email protected]> wrote in message
    news:[email protected]...
    And the solution where you put the WebLogic parm under location
    the
    last
    location
    over rule the previous.
    I have also tried to upgrade my plug-in from SP8 to SP10 but that
    didn't
    make
    any difference either.
    Is it possible to get the source code for the plug-in, I'm afraid
    that
    it
    don't
    follow put's all it's parm's a the vhost level no matter where in
    the
    conf
    file
    they are placed.
    HELP
    Jens
    "Eric Gross" <[email protected]> wrote:
    Yu is correct.
    Here is another way to do it as well:
    MatchExpression /x
    WebLogicCluster=server1:port,server2:port|PathTrim=/x
    MatchExpression /yWebLogicCluster=server3:port,server4:port|PathTrim=/y
    The general syntax for this would be:
    MatchExpression exp name=value|name=value
    Where exp=Mime type(*.jsp) or exp=/x(path)
    The next argument in the list is a pipe(|) delimited list ofname=value
    pairs (ie: WebLogicHost, WebLogicPort, WebLogicCluster, PathTrim,
    PathPrepend, etc..).
    Hope this helps.
    Regards,
    Eric
    "Yu Tian" <[email protected]> wrote in message
    news:[email protected]...
    Hi Jens,
    I think you can proxy by ppath.
    <Location /x>
    SetHandler weblogic-handler
    WebLogicCluster cluster1
    </Location>
    <Location /y>
    SetHandler weblogic-handler
    WebLogicCluster cluster2
    </Location>
    thanks
    Yu
    "Jens" <[email protected]> wrote in message
    news:[email protected]...
    Configuration : WebLogic 5.1 SP8 & Apache
    I need to be able to have a configuration that looks something
    like
    this.
    www.company.com/x -> WL cluster01
    www.company.com/y -> WL cluster02
    In all the examples that I have been able to find they alway
    defines
    the
    the WL
    connection for the entire virtual host, but I need to be able
    to
    do it
    on
    a location
    basis is that possible?
    Thanks
    Jens Schutt

  • Apache virtual hosts

    Hello,
    I have a enabled http access to my G4 and also FTP. I now would like to host my other sites.
    How can I enable virtual hosting?
    I have looked at documentation relating to this but have come unstuck as I have tried to look for the areas in the httpd.conf file that controls this. I think I found it but I'm not at all unix or command-line savvy so I don't wish to stuff it up. I have also looked through Apaches' on line documentation but I cant find any straight forward "this is what to change and this is how to change it" document. There seems to be much to do through terminal in order to allow virtual hosts, and there is also security which I believe is contained in other apache files. The mac is standalone and I think I need to allow it to be inetd? Is that right?
    Is there alternative software apart from apple server, that a novice like me can learn from or allow me to set these up through a gui?
    Thanks for your help

    Hi--
    sorry for the delay in responding have been away for
    xmas, will ask for advice on the apache boards,
    You can also ask for advice here. Unless the Apache boards have an area specifically for Apache on OS X, you could get confusing advice. Apple's Apache uses a different file layout than Linux, for example. Also, the Apache on OS X is still version 1.3, so you can get confusing advice there, too.
    but I
    will give nedit a go to see what it does.
    If you find nedit too daunting to install (it requires X Windows, for example, so you'd need that), you should look at Bare Bones' TextWrangler (if you're not already using BBedit, that is). You can use it to open the Apache configuration files. There's even an Apache Configuration Language module that works with TextWrangler. To install it into TextWrangler, just substitute "TextWrangler" in the path given on the Daring Fireball page. It works like a champ with either BBEdit or TextWrangler.
    Do you think it would be worth
    investing in apple server?
    If all you want to do is to set up virtual hosts on your computer, I don't think it's worth it. I haven't used the GUI tools for setting up so I don't know how good they are, though.
    But it's pretty simple to set up a virtual host on regular OS X. Basically, you open up the Apache configuration file. If you're using TextWrangler, and you installed the command line tool, it's as easy as typing this in the Terminal application:
    <pre class="command">edit /etc/httpd/httpd.conf</pre>TextWrangler will take care of the proper authentication when it comes time to make changes or save your file.
    The first thing to look for in your httpd.conf file is the NameVirtualHost directive. By default, it's commented out (has a "#" in front of the line):
    <pre class="command">#NameVirtualHost *:80</pre>Just remove the "#" from the front of the line.
    Then, a little further down, there's an example host but it's commented out:
    <pre class="command">#<VirtualHost *:80>
    # ServerAdmin [email protected]
    # DocumentRoot /www/docs/dummy-host.example.com
    # ServerName dummy-host.example.com
    # ErrorLog logs/dummy-host.example.com-error_log
    # CustomLog logs/dummy-host.example.com-access_log common
    #</VirtualHost></pre>I always leave that alone, but start my virtual hosts just below that. It can be as simple as this:
    <pre class="command"><VirtualHost *>
    DocumentRoot "/Library/WebServer/sitedirectory"
    ServerName www.domain.com
    </VirtualHost></pre>You can, however, get fancy and add all kinds of directives into that block, customizing your virtual host as much as you want. My suggestion would be to try setting up a virtual host and see where you get stuck, then post back with questions.
    As for messing up the httpd.conf file, don't worry about it too much. There's a "default" copy of the file in the /etc/httpd directory that you can always go back to. Or, do what I do before I'm about to try something that could turn ugly: make a copy of the current configuration file:
    <pre class="command">sudo cp /etc/httpd/httpd.conf /etc/httpd/httpd.conf.cmbak.1</pre>Where I just incremement the "1" on the end. Or I put the date on there: httpd.conf.cmbak.20061229. That way, I always have the current file to fall back on...
    And don't forget: any time you make a change to the httpd.conf file, you have to stop and restart the web server! That's so easy to forget. Also, if you're changing the configuration, these two Terminal commands will be your friends:
    <pre class="command">/usr/sbin/apachectl configtest
    /http -S</pre>
    The first one tells you if you have any syntax errors in your configuration file, the second will tell you about your virtual host setup.
    charlie

  • Apache, virtual hosts & cgi-bin

    Hello all,
    I have an AL server running apache, qmail, vpopmail (&mysql), bincimap, squirrelmail.
    I've setup apache to have 2 virtual hosts :
    www.mydomain.com (with docroot /home/httpd/html/www.mydomain.com) as http & mail.mydomain.com (with docroot /home/httpd/html/mail.mydomain.com) as https.
    Everything is working fine so far, except when I ask for http://mail.mydomain.com (not https) it shows the contents of www.mydomain.com. Minor annoyance, but I'd like to fix it some time. Any suggestions ?
    My main problem is that I want to install qmailadmin in mail.mydomain.com, so I can access it via ssl, so I installed it as /home/httpd/cgi-bin/qmailadmin & made a symlink to /home/httpd/html/mail.mydomain.com/cgi-bin.
    When I try to access it (https://mail.mydomain.com/cgi-bin/qmailadmin), I get "500 Internal server error" & in error_log:
    [error] [client MY_IP] Premature end of script headers: qmailadmin
    and in ssl_request_log :
    [14/Jan/2004:17:00:45 +0200] MY_IP TLSv1 RC4-MD5 "GET /cgi-bin/qmailadmin HTTP/1.1" 674
    I've never setup cgi-bin in virtual hosts before & it's driving me nuts, any suggestions ?
    btw, qmailadmin works fine on my home server without any virtual hosts in apache...

    This isn't perfect, but it's probably pretty close to what you're looking for.  You may need to play around with some <Directory/> tags for your cgi-bin directory, or (as the example illustrates below), just put your cgi scripts in the document root for mail.mydomain.com.
    <Directory "/home/httpd/html/www.mydomain.com">
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>
    <Directory "/home/httpd/html/mail.mydomain.com">
    AllowOverride All
    Options ExecCGI
    Order allow,deny
    Allow from all
    </Directory>
    NameVirtualHost 192.168.1.114:80
    NameVirtualHost 192.168.1.114:443
    <VirtualHost www.mydomain.com:80>
    SSLDisable
    Servername www.mydomain.com
    ServerAdmin [email protected]
    DocumentRoot /home/httpd/html/www.mydomain.com
    DirectoryIndex index.html index.htm index.cgi
    ErrorLog logs/www.mydomain.com_error.log
    CustomLog logs/www.mydomain.com_access.log combined
    </Virtualhost>
    # redirect 80 to 443
    <VirtualHost mail.mydomain.com:80>
    SSLDisable
    Servername mail.mydomain.com
    Redirect / https://mail.mydomain.com
    </Virtualhost>
    <VirtualHost mail.mydomain.com:443>
    SSLEnable
    SSLCertificateFile /home/httpd/conf/mail.mydomain.com.pem
    ServerName mail.mydomain.com
    ServerAdmin [email protected]
    DocumentRoot /home/httpd/html/mail.mydomain.com
    ErrorLog logs/mail.mydomain.com_error.log
    CustomLog logs/mail.mydomain.com_access.log combined
    </Virtualhost>
    hth,
    farphel

  • Using Sendmail from a Virtual Host

    I'm testing some Perl CGI scripts which use sendmail to send out emails. These scripts are used by different organisations and I've set up a virtual host for each organisation. I'm finding that the script communicates with sendmail OK but the messages are not getting through and I see from the error log at /var/mail/ that these are being rejected with part of the error message being:
    "Final-Recipient: rfc822; *****@mac.com
    Action: failed
    Status: 5.1.1
    Remote-MTA: dns; smtp-mx1.mac.com
    Diagnostic-Code: smtp; 550 5.1.1 unknown or illegal alias: *****@mac.com"
    --183FD34686D.1210867525/EricMac.local
    Content-Description: Undelivered Message
    Content-Type: message/rfc822"
    What do I need to do to correct this?
    <Edited by Moderator>

    You'll see from my other posting that my problems with sendmail have been solved. I seem to be doing the same as you - testing Perl scripts on the Mac before uploading to the live server. I'm doing this with scripts for different clients and I've set up virtual hosts for each on the Mac, and I'm using ActiveState's IDE, Komodo, to do the testing.
    When I had my initial problems with sendmail I was told that I had to configure it. However I'm not using the Apache that comes with my MacBook Pro. I downloaded MAMP PRO from http://www.mamp.info/en/mamp-pro/ which provides Apache, MySQL and PHP already configured for the Mac and also allows virtual hosts to be set up easily - there is also a free version MAMP that provides these three but not the frills.
    It seems that sendmail is already configured in MAMP, at least I haven't done any configuration, and this might be your answer if you're still having problems with sendmail

  • Apache Virtual Hosts and Weblogic 5.1SP6

    Running:
    WebLogic Server 5.1.0 w/ Service Pack 6
    Solaris 7
    Hello, I've been reading through the newsgroups and saw alot of information on
    setting up apache and weblogic to handle virtual hosts, but am still having problems
    getting it to work.
    I have 2 domains that will be served up by one instance of Apache using NameBased
    virtual hosts and I would like to have our one instance of WebLogic 5.1SP6 handle
    them as well.
    Excerpt from my httpd.conf file:
    NameVirtualHost 216.xx.x.xx:80
    <VirtualHost vcstgws011:80>
    ServerName vcstgws011.domain1.com
    Port 80
    DocumentRoot /opt/vci-10.8/webapps/www
    DirectoryIndex index.jsp
    <Directory "/opt/vci-10.8/webapps/www">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>
    <VirtualHost vcstgws011:80>
    ServerName www.domain2.com
    Port 80
    DocumentRoot /opt/vci-10.8/webapps/www/dsl
    DirectoryIndex index.jsp
    <Directory "/opt/vci-10.8/webapps/www">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>
    Under my default server configuration I have the WebLogic stuff:
    <IfDefine WL>
    WebLogicCluster vcstgas011.domain1.com:7001
    Debug on
    DebugConfigInfo on
    ConnectTimeoutSecs 60
    HungServerRecoverSecs 300
    Debug on
    DebugConfigInfo on
    <Files *.jsp>
    SetHandler weblogic-handler
    </Files>
    <Location /weblogic>
    SetHandler weblogic-handler
    PathTrim /weblogic
    </Location>
    <Location /servlet>
    SetHandler weblogic-handler
    </Location>
    <Location /Admin*>
    SetHandler weblogic-handler
    </Location>
    <Location /j_security_check>
    SetHandler weblogic-handler
    </Location>
    </IfDefine>
    And here's an excerpt from my weblogic.properties file:
    # HTTPD
    weblogic.httpd.enable=true
    # DocumentRoot configuration
    weblogic.httpd.defaultWebApp=/opt/vci-10.8/webapps/www
    weblogic.httpd.indexDirectories=true
    Any help would be appreciated.
    Thanks,
    Mark

    Anyone have success with Name-Based virtual hosts using same instance of WebLogic?
    "Mark Mangano" <[email protected]> wrote:
    >
    Running:
    WebLogic Server 5.1.0 w/ Service Pack 6
    Solaris 7
    Hello, I've been reading through the newsgroups and saw alot of information
    on
    setting up apache and weblogic to handle virtual hosts, but am still
    having problems
    getting it to work.
    I have 2 domains that will be served up by one instance of Apache using
    NameBased
    virtual hosts and I would like to have our one instance of WebLogic 5.1SP6
    handle
    them as well.
    Excerpt from my httpd.conf file:
    NameVirtualHost 216.xx.x.xx:80
    <VirtualHost vcstgws011:80>
    ServerName vcstgws011.domain1.com
    Port 80
    DocumentRoot /opt/vci-10.8/webapps/www
    DirectoryIndex index.jsp
    <Directory "/opt/vci-10.8/webapps/www">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>
    <VirtualHost vcstgws011:80>
    ServerName www.domain2.com
    Port 80
    DocumentRoot /opt/vci-10.8/webapps/www/dsl
    DirectoryIndex index.jsp
    <Directory "/opt/vci-10.8/webapps/www">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    </VirtualHost>
    Under my default server configuration I have the WebLogic stuff:
    <IfDefine WL>
    WebLogicCluster vcstgas011.domain1.com:7001
    Debug on
    DebugConfigInfo on
    ConnectTimeoutSecs 60
    HungServerRecoverSecs 300
    Debug on
    DebugConfigInfo on
    <Files *.jsp>
    SetHandler weblogic-handler
    </Files>
    <Location /weblogic>
    SetHandler weblogic-handler
    PathTrim /weblogic
    </Location>
    <Location /servlet>
    SetHandler weblogic-handler
    </Location>
    <Location /Admin*>
    SetHandler weblogic-handler
    </Location>
    <Location /j_security_check>
    SetHandler weblogic-handler
    </Location>
    </IfDefine>
    And here's an excerpt from my weblogic.properties file:
    # HTTPD
    weblogic.httpd.enable=true
    # DocumentRoot configuration
    weblogic.httpd.defaultWebApp=/opt/vci-10.8/webapps/www
    weblogic.httpd.indexDirectories=true
    Any help would be appreciated.
    Thanks,
    Mark

Maybe you are looking for

  • How I get the new software to update my phone fast???

    How I get the newest software to update my Iphone fast?

  • Budget Availability control and Assigned Value in Project

    Hi, Project is so structured that it is similar to the product structure. Assume a simple case with two level BOM where a sub assembly M1 includes another sub assembly M2. In project, these two sub assemblies are assigned under two different WBS elem

  • Lumia 720 completely dead

    So, my quite new, undamaged Lumia 720 has gone completely dead. I took some photos and soon after that shut it off for the night to conserve battery (which was at 47% at this point). The las photo doesn't show up at skydrive, so I shut the phone off

  • Datamart management from cube to external system via XI

    Dear All, I upload data to another external system via XI from an infocube. Data upload is done with delta update to the cube, also, deltas going to the external system.,, I have two cubes. One of them is filled with deltas by transformation (i.e 7.0

  • Uncaught error fetching image

    Hi all, It seems that my GNOME Terminal can't open a window with Java (JRE 1.5 update 6) when I call a java-dependent software. I get this kind of error messages: Uncaught error fetching image: java.lang.NullPointerException         at sun.awt.image.