How do I get Apache web server working ...

How do I get Apache web server working on my MacBook Pro, which is running Leopard 10.5.8?
When I enter 'http://localhost/~username/' (without the quote marks) as a URL in my Firefox browser on the MacBook, I do not see any result at all(!). I do have Web Sharing on in System Preferences on that machine. But the browser does nothing whatever for that URL ...
On my other computer, an iMac running Leopard 10.5.8, when I enter 'http://localhost/~username/' I see the default "Your Website Here" page. That same default page is in fact the index.html file I expect to see on the MacBook Pro. But it isn't getting invoked for some reason. Nothing is happening ...
When on the iMac I try 'http://10.0.1.18/~username/' (10.0.1.18 is the local IP address I see under 'Web Sharing: On' on the MacBook) I get "Unable to connect: Firefox can't establish a connection to the server at 10.0.1.18."
When on the MacBook I try 'http://10.0.1.5/~username/' (10.0.1.5 is the local IP address I see under 'Web Sharing: On' on the MacBook) I see the default "Your Website Here" page.
It is the same on my iPhone: Using the same local IP addresses and usernames, Safari can see the index.html page on my iMac but not on my MacBook.
It looks as if Apache is not working on the MacBook, while on the iMac it works fine.
On the MacBook I can see (after I use 'defaults write com.apple.finder AppleShowAllFiles TRUE' in Terminal) a /private/etc/apache2/ directory with what look to be(?) the usual contents. So it looks like Apache is duly installed, as far as I can tell.
On the MacBook I don't see a file at /private/var/log/apache2/error_log, which is the location for 'ErrorLog' given in the httpd.conf file.
That about exhausts my understanding of how to get a handle on my problem.
Any advice or suggestions from those who have more expertise with Apache will be much appreciated ...

Okai, so we are getting somewhere, but not quit there yet :-)
I opened the Kenneth.conf file using the command: vi Kenneth.conf
This is what it said:
<Directory "/Users/Kenneth/Sites/">
Options Indexes Multiviews
AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
</Directory>
"Kenneth.conf" [readonly] 6L, 139C
I therefore changed the AllowOverride from AuthConfig Limit to None, which was the only difference from what you posted above. Something did change, when I tried to open XAMPP it prompted me a password, but Apache still wont start :-/

Similar Messages

  • How can I make the web server work on port 80 and not 443. I can only access my website using https.

    On a Mac Mini server with OS X Lion 10.7.2, I am unalbe to get the web server working on port 80. It switches automatically to port 443 (https).
    This situation complicates the access to FileMaker Web publishing, as I don't want my clients having to use https.
    How can I change that? Does anyone know?
    Thanks for any reply

    in the server: I checked the SSL certificate. Tried several configuration.
    Well, that's a problem for a start.
    Your port 80 connection should NOT use SSL. Port 80 is the standard HTTP port, not HTTPS and most applications that connect to port 80 will not expect to use SSL
    If you want to run a site under both HTTP and HTTPS then you create two sites, one on port 80 without SSL and one on port 443 with SSL

  • How to integrate Apache Web Server and Apache Tomcat 4.0 ?

    <pre>
    Hi All,
    Can anyone give me a detailed description(or url that tells so) of how to install the Apache Web Server, Apache Tomcat Server4.0 and Integrate both of them.
    Still now I am using Apache Tomcat 4.0 as a standalone application and now I want to learn how to install,use Apache Web Server and integrate this with Apache Tomcat.
    Please point me to exact location,url to download the recent Apache Web Server and,
    Can I use my existing Standalone Apache Tomcat 4.0 to integrate this with Apache Web Server that I am going to download.
    A detailed explanation of how to integrate both is very helpful.
    Thanks in advance.
    <pre>

    The way to integrate Apache Web Server & Apache is very easy. The first step is download the library to connect both servers. This library can be download from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0/bin/webapp-module-1.0-tc40-windows.zip.
    Copy the files to APACHE_HOME\modules and open httpd.conf to change any lines:
    You find the section "LoadModule" and you add the next lines:
    LoadModule webapp_module modules/mod_webapp.so
    AddModule mod_webapp.c
    And the end of the file you must add these lines:
    WebAppConnection conexion warp localhost:8008
    WebAppDeploy examples conexion /examples
    The first parameter -2nd line- (examples) is the URL name application, the second is the connection's name and the last parameter is the application's name. This name is the same which in servlet.xml.
    At last you can add one more lines to check the module's configuration:
    WebAppInfo /webapp-info
    If you visit http://<yoor_host>/webapp-info you can see the configuration.

  • Apache Web Server Listener is not running

    Hi,
    when starting E_BUSINESS issuing this
    adstrtal.sh apps/apps
    , I have this error message :
    Apache Web Server Listener is not running.
    Starting Apache Web Server Listener (dedicated HTTP) ...
    Apache Web Server Listener (PLSQL) is not running.
    Starting Apache Web Server Listener (dedicated PLSQL) ...
    What might be the problem ? How can I launch Apache Web Server Listener to see why it can not start and where to see it's log file ?
    Many thanks

    hsawwan,
    I stopped all services, and killed process that were using port 8103. Then restarted all. In jserv.log we have
    [09/11/2007 15:36:27:798 CET] Host os02ebsx.ourdomain.net not found and not allowed to connect
    [09/11/2007 15:37:29:146 CET] Repository /Data/oracle/d03/prdacomn/java/apps.zip doesn't exist!
    [09/11/2007 15:37:29:178 CET] oracle.apps.icx.common.InitSystemProperties: init
    [09/11/2007 15:37:29:233 CET] oracle.apps.fnd.tcf.SocketServer: init
    [09/11/2007 15:37:29:247 CET] weboamLocal/oracle.apps.fnd.oam.servlet.ui.OAMServlet: init
    [09/11/2007 15:37:30:005 CET] weboamLocal/oracle.apps.fnd.oam.servlet.ui.OAMServlet: Sucessfully initialize oaosu.OAMServlet
    [09/11/2007 15:37:30:156 CET] oracle.apps.mwa.wap.engine.WapServlet: init
    [09/11/2007 15:37:30:156 CET] oracle.apps.mwa = /Data/oracle/d03/prdaappl/mwa/11.5.0
    [09/11/2007 15:37:33:271 CET] Fatal error in parsing device registration file. See system log file for de-tails.
    but in Context.xml file we do not have os02ebsx.ourdomain.net. Where does java server pick up this host ?
    Thanks and regards.

  • Integrating Apache Web Server and Tomcat

    Hi,
    how do i integrate Apache Web Server (version 2.0) with Tomcat 5, on 2 different machines physically?
    I have managed to integrate them on the same machine. Now, I need to separate the 2 into 2 different servers.
    Please help.

    This is a forum for Sun's Java Application Server.
    Sun's AS is built on top of Tomcat and it's free in production (Platform Edition). The Standard Edition provides integration with an Apache HTTP server via a plugin.
    http://wwws.sun.com/software/products/appsrvr/home_appsrvr.htm
    For Tomcat, try http://jakarta.apache.org/tomcat/index.html
    -Alexis

  • Trying to get PHP (5.2.5) via Apache Web Server (2.2.13) to work.

    From binaries.
    1. I was able to get the command line execution of 01.php to work with php w/o
    Apache.
    2. I am able to get normal PHP to work in Apache and I'm able to load up some php
    extensions that come with PHP such as php_zip.dll
    which show up as loaded when I execute this php script via the Apache Web server:
    <?php
    phpinfo();
    ?>
    3. I've tried both the CGI method and the apache module method of linking apache to PHP, but
    still get the same following error in my Apache error logs.
    PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Progra~1/Oracle/Berkeley DB XML 2.4.16/bin\\php_db4.dll' - The specified module could not be found.\r\n in Unknown on line 0
    PHP Warning: PHP Startup: Unable to load dynamic library 'C:/Progra~1/Oracle/Berkeley DB XML 2.4.16/bin\\php_dbxml.dll' - The specified module could not be found.\r\n in Unknown on line 0
    4. I've tried to move these two dlls to the /ext directory as well, but no joy.
    5. What confuses me is that it works on the command line, but not through Apache.
    Since they work on the command line, the dlls are proper dlls, correct?
    What could be causing them not to work from Apache?
    6. In my google searching on other php dlls, there are references that certain php dlls are dependent upon other dlls to be in the path. Does anyone know if there are any other dependecies for two dlls in question? And is it that php command line can find these dlls, but when apache starts up, it doesn't have access to these other dependent dlls?
    7. Anyone have any insight, suggestions into this? Behavior?

    I think 5.2.10 has mainly bug fixes in comparison to 5.2.5. If it works, I'd simply assume everything's fine.
    Be aware, though, that there is a general caveat with using DBXML in an Apache/PHP environment. You cannot maintain state at the application level as with a Java application server. On each request, you'll have to reopen the environment and the containers you want to access. So it's not as effiicient as on a more suitable platform. Also, if the need to run recovery arises, it is not clear how you would handle this in a multi-process environment with no built-in means for coordination of those processes.
    Michael Ludwig

  • How to Configure Apache Web Server  with Tomcat web container in Linux

    Hi all,
    I am working on Tomcat web server 5.0.19 on Linux AS 3.0., ( my Control Server)
    I need map my tomcat to Apache Web Server (httpd) in another system
    (web server).
    I dont have jk2_ or jk_mod .so files to use in my tomcat/conf directory to make them available for httpd.conf files of Apache Web server.
    I have only jk2.properties file in my conf.,
    Please tell me how to go about it
    my mail id [email protected]
    Thank You
    Subramanyam.V
    Hyderabad
    India

    The simple answer is to download a web server that has a web container already integrated on it, so all that painful configuration work is avoided.
    You can use the mature SJS Web Server 6.1 SP5 at
    http://www.sun.com/webserver
    Or you can try a preview of the upcoming version at
    http://www.sun.com/download/products.xml?id=446518d5
    You will get better performance and security, with easy of use, at about the same price ;)

  • How to install Apache Web Server with PHP on Sun Solaris Sparc machine

    Hi,
    We are trying to install the Apache Web Server and the PHP package on a Sun Solaris Sparc machine running on SunOS 5.8. We are having compilation problems with the source code of both these packages.
    Does anybody know if there are ready solaris packages for Apache and PHP available from where we can download and install instead of source code compilation?
    Or any instructions / things to watch for when installing Apache with PHP (if anybody has tried installing Apache with PHP on Sun Solaris earlier) is most welcome.
    Thanks,
    Harish

    Apache should be bundled along with Solaris check in "/var/apache" in Solaris 8 and Solaris 9
    php is available at www.php.net
    I found an old document for installing PHP maybe this will help.
    Cheers
    -Dhruva
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++Installing PHP 3.x for Apache 1.x.x on Solaris
    Introduction
    This document describes how to install PHP for Apache on Solaris.
    You should have Apache installed before trying to install PHP.
    If you want to use PHP with MySQL then you must install MySQL first.
    Before we Begin
    1. These instructions assume that you have Apache installed according to instructions.
    Getting PHP
    1. You must be logged in as root to perform this installation.
    su root
    2. I save all my downloads in:
    /usr/local/dist
    If you don't already have one, you may need to create that directory now:
    mkdir /usr/local/dist
    3. You can get PHP 3.0.14 from here(www.php.net).
    cd /usr/local/dist
    ftp ftp.php.net
    cd pub/distributions
    bin
    get php-3.0.14.tar.gz
    bye
    Installing PHP
    1. We will install PHP in /usr/local/build, but use a tricky tar command
    to do it in on hit from the download directory:
    cd /usr/local/dist
    tar xvfz php-3.0.12.tar.gz -C ../build
    Compiling PHP
    1. First let's get where the action is:
    cd /usr/local/build/php-3.0.14
    2. You now have 3 options:
    * Simple PHP install without MySQL - goto step 3
    * Simple PHP install with MySQL - goto step 4
    * Custom PHP install - goto step 5
    3. Simple PHP install without MySQL. Next, jump to step 6.
    ./configure --with-apache=../apache_1.3.12
    4. Simple PHP install with MySQL. MySQL must be installed before you can configure PHP to use it. I recommend that MySQL should always be reachable with /usr/local/mysql. Even if you install it else where you
    should create a symbolic link from /usr/local/mysql. Otherwise the compiler can have problems finding the mysqlclient library. The command
    should look like this:
    ./configure with-mysql=/usr/local/mysql with-apache=../apache_1.3.12
    Next, jump to step 6.
    5. Custom PHP install. Take a look at the available configuration directives by using this command:
    ./configure --help
    6. Now we can make the PHP executable. This may take a while.
    make
    7. Now we install the PHP module with:
    make install
    Adding the PHP Module to Apache
    1. Now we have to setup Apache to include the PHP module:
    cd ../apache_1.3.12
    2. Re-configure Apache to use the PHP module. You should use your previous Apache configure command along with the PHP activate module directive.
    You can see your previous Apache configure command by doing:
    cat config.status
    You can configure Apache using the previous command with the added PHP module by doing:
    ./config.status --activate-module=src/modules/php3/libphp3.a
    If you used the simple Apache install from instructions the command will look like this:
    ./configure prefix=/usr/local/apache activate-module=src/modules/php3/libphp3.a
    3. Make and install Apache with PHP enabled:
    make
    4. We need to stop the server before installing the files:
    /usr/local/apache/bin/apachectl stop
    5. Now we can install the new binaries:
    make install
    6. Start apache again (now running the new php enabled version):
    /usr/local/apache/bin/apachectl start
    Setting Up PHP
    1. We have to tell Apache to pass certain file extensions to PHP. We do this in Apache's httpd.conf file.
    cd /usr/local/apache/conf
    2. Edit the httpd.conf file. If you do a search for php you will find a couple of commented out lines telling Apache to use the PHP module. You should uncomment them to look like this.
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .phps
    3. I prefer to use the extension .phtml, you can use whatever extension you like (even .html) by adding lines to httpd.conf like this:
    AddType application/x-httpd-php3 .phtml
    Check that it Works
    1. We have to restart Apache to make these changes take effect on the running server.
    cd /usr/local/apache/bin
    ./apachectl restart
    2. Apache should now be running with PHP enabled. The server version should include PHP/3.0b2.
    ./apachectl status
    Apache Server Status for dev.synop.com
    Server Version: Apache/1.3.9 (Unix) PHP/3.0.12
    Server Built: Oct 25 1999 00:37:07
    3. Now it is time to test PHP with a page. The simplest thing to do is create a page called test.php3. My file is here. This file contains the
    following text:
    <?php phpinfo(); ?>
    4. Point your browser at this file on the virtual host which you used:
    http://localhost/test.php3

  • How to install Apache Web server on my SAP Content Server

    Dear Experts,
    I am in the process of installaing Content Server in my landscape, i am working on Suse Linux 10 SP2 and planning to install ContentServer 6.30.
    I have read the standard SAP installation document for the same and it says that we need to install Apache Web server version 1.3.XX, so i have downloaded the file apache_1.3.27-x86_64-whatever-linux22.tar.
    Now i want to know the following before i take any actions on my further installation of the Content Server
    What is the difference between Apache and httpd servers (services) are they different or same
    Is the file apache_1.3.27-x86_64-whatever-linux22.tar correct to install Web Server on my Linux system
    Do i have to download any other httpd files
    How to install and start the Web server on my Linux
    Waiting for some information
    Thanks and regards
    BasoKing

    You can install a higher apache also (2.2.x), I'd not use the old versions. I'd also not use a "somwhere" compiled apache, you don't now if that version is clean.
    I'd rather compile an own one, it's not that difficult:
    Note 664384 - Generation info for Apache Web server for SAP Content Server
    The result will be a default webserver (httpd) without any unnecessary modules compiled in.
    Markus

  • How to install Tomcat 1.4 on Apache Web Server

    I'd like to know how to install Tomcat 1.4 on Apache web server. I cant find any instructions from the documentation that goes along with the Tomcat 1.4

    1) Use mod_jk.dll. Obtain it from the jakarta's site. (It comes with Tomcat 3.3 and above)Put it in the apache's modules folder.
    2) Modify httpd.conf of the A.W.S, append the following line to it:
    include TOMCAT_HOME/conf/mod_jk.conf-auto
    3) Start Apache W.S first, then restart Tomcat.
    It's simple and hope this works!
    Rommel Sharma.

  • How can I get my web cam to work in Adobe Connect ?

    This is actually an end user's question that I am having trouble answering to...
    We use Adobe Connect to give online language classes, the end user is one of the students.
    I cannot find the right Support answer to give him.
    Problem:
    My camera does not work when I connect to Adobe's rooms but camera works fine with other software.
    Even though I suspected my old camera was working fine, yesterday I went ahead and bought a new camera. 
    I thought perhaps my webcam software may have been a problem, so I bought a different type camera with different software. 
    Even after removing all the old software, same result:  
    I surmised the problem might be caused by my firewall and security software, so once I tried changing the permissions for Adobe, and my Webcam, but that didn’t work.   
    Another time, I restarted my computer right before class and then turned off my firewall completely so there would be no interference but to no avail. I’m totally perplexed.  
    Isn’t there anyone else experiencing a similar problem?   Has anyone else found a solution? 
    I run Windows Vista with McAfee Internet Security Software.  I always reboot the computer before class and open no other programs other than Google Chrome. 
    I now have a brand new Microsoft LifeCam Cinema Camera with LifeCam 3.5 Webcam Software. 
    I test my camera before going online.  It always works fine.   Then I shut down the camera program and login into class.   
    When I “connect webcam” in the room, the light on my camera comes on (suggesting that it is ON), but only a black image is transmitted to the room.

    Check to see if you have Google Voice installed. If so, remove it and see
    if your problem vanishes. If not Google Voice, check to see if you have
    any other communications software which interacts with your cam and
    disable it. This was the problem I had with a similar problem on a Mac.
    MosesJOI <[email protected]>
    10/13/11 12:08 PM
    Please respond to
    [email protected]
    To
    jsb152 <[email protected]>
    cc
    Subject
    How can I get my web cam to work in Adobe Connect ?
    Re: How can I get my web cam to work in Adobe Connect ?
    created by MosesJOI in General Discussion - View the full discussion
    Thanks a lot Heyward for the swift reply !
    I sent the advice out to the end user, but unfortunately this wasn't the
    solution.
    His reply is below :-
    The default resolution of my new camera is already set at 640x360, but I
    went ahead and tried several lower resolutions (e.g. 424x240; 320x240; and
    160x120) but none worked in the room - camera still showed up as black
    blank screen.  Also, as far as I can tell, I don’t have the option of
    adjusting the frame rate.
    I started playing around with my Internet Security Settings to see if they
    might be playing a role. So far, all to no avail.
    Hmm...quite a tricky one - webcams always are - maybe if he can find a way
    to adjust the frame rate (?).
    He's going to fiddle about with the settings a bit more and see if
    something does the trick.
    If anyone has had a similar problem and found an ingenious solution,
    please jot on a note on this thread.
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either
    reply to this email or visit the message page: [
    http://forums.adobe.com/message/3969561#3969561]
    To unsubscribe from this thread, please visit the message page at [
    http://forums.adobe.com/message/3969561#3969561]. In the Actions box on
    the right, click the Stop Email Notifications link.
    Start a new discussion in General Discussion by email or at Adobe Forums
    For more information about maintaining your forum email notifications
    please go to http://forums.adobe.com/message/2936746#2936746.

  • Hi there i have just moved into a new pad and the internet is running on a proxy server how do i get my ATV2 to work ?

    Hi there i have just moved into a new pad and the internet is running on a proxy server how do i get my ATV2 to work ?

    Bladerider900 wrote:
    Thanks ...
    You're Welcome.

  • How to use JSP in apache web server

    hi all,
    can anybody tell me how to use JSPs in Apache Web Server.
    Thanks
    sir

    You would need a servlet container to run Servlets and JSPs. And Apache's Tomcat is one such free container available. Download Tomcat from http://jakarta.apache.org and integrate with Apache WS
    HTH

  • How to use Apache Web Server?

    Hi all,
    How to use Apache Web Server?
    Thanks
    contact me: [email protected]

    i do not know for certain about the jsps you're talking about, but i would guess they should run just fine under jrun, and you wouldn't have to make jrun and jserv coexist.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by One:
    Hi ilya:
    Thank you for your quick reply.
    I will try that way but I wonder if the thing like "how about the *.jsp developed by the JDeveloper and BC4J run under JRun; could and is it necessary to make the Apache+JServ and Apache+JRun co-exist ... "<HR></BLOCKQUOTE>
    null

  • How to save uploaded image file to Apache Web Server from Tomcat

    Hi guys,
    Perhaps this is not an appropriate topic to ask under this forum but I really don't know where should I post my question. Hope you understand.
    Ok, I need to know if my web application is running in Tomcat5 and user uploading some image file where I need to save these image files to the other server, which is running Apache Web Server. Should I ftp to there or other better method ?
    Anyone got a better idea on doing this kind of process pls advice. Many Thanks !
    regards,
    Mark

    if your Apache server is running in the same computer and if your servlet have write access to the folder in apache under which you want to save the file you can just write the file there but you will have to address concurrency issues.
    Otherwise you will have to do ftp but since apache does not have abuilt in frp server you will need a seperate FTP server for this

Maybe you are looking for

  • Connect mac book to vga projector

    Hi, Eveyone...can anyone helpo me with 30 mins? Have a mac book pro and am trying to connect it a Project via the apple VGA connector. When I plug everthing in the projector does not pick up the MPB??? on a pc/laptop I would nornally use fn / F5 to s

  • IDVD/Macbook/external DVD Burner

    Hi All, There are several threads already relating to this subject. I have read them, but am having a little trouble fathoming a straight answer to my query. I have a Macbook - 2GHz Intel Core Duo - 1GB 667 MHz DDR2 SDRAM with Leopard operating syste

  • Best operating system for music applications( or most popular)

    hi, gonna be buying a mac laptop. im not feeling leopard for coupla reasons. im new to all this by the way. so dont know about the diff versions of operating systems for mac........i just know tiger 10.4 was one prior. for music software, which op sy

  • Need To Turn iPod Off???????

    Is it necessary to move your iPod to the "Off" position when it is not in use?? I am asking because all the iPod cases that clip to your waist do not provide access to the "Off", "Play in Order", or "Shuffle Songs" button. Surely it is not necessary

  • Unable to check for available downloads. The network connection timed out.

    I downloaded iTunes 10.1.2 last week, and attempted to upgrade some music to iTunes Plus. I'm showing 35 items in my download queue, but when I attempt to download I get a message "Unable to check for available downloads. Network connection timed out