Start web sharing with terminal

Hi All
in os 10.6 I can start web sharing simply using this command in the terminal:
sudo apachectl start
this is the same that enabling web sharing in the system preferences.
Now in os 10.7 it don't works.
Using
sudo /usr/sbin/httpd -k start -D WEBSHARING_ON
it seems works but system preferences still show web sharing disabled and after restarting computer, web sharing is disabled
someone can help me?

Perhaps you're thinking of the SnowLeopard behavior. In Lion, starting Web Sharing is not exactly the same as starting httpd. Please inspect the contents of org.apache.httpd.plist, before and after starting Web Sharing in System Prefs, and it will help you understand. Before, you'll see something like:
<key>ProgramArguments</key><array>
     <string>/usr/sbin/httpd</string>
     <string>-D</string>
     <string>FOREGROUND</string>
</array>
After starting it, you'll see the WEBSHARING_ON flag added:
<key>ProgramArguments</key><array>
     <string>/usr/sbin/httpd</string>
     <string>-D</string>
     <string>FOREGROUND</string>
     <string>-D</string>
     <string>WEBSHARING_ON</string>
</array>
And, have you noticed that even if you load the launchd.plist with -w, the Disabled flag in the launchd.plist is always set to True? That's because the actual state of the launchd job is reflected in this file:
/var/db/launchd.db/com.apple.launchd/overrides.plist
Finally, apachectl start/stop simply loads and unloads the launchd.plist.

Similar Messages

  • Web Sharing with custom domain name

    Hi,
    I am wondering if I can use a custom domain name with the built in web sharing. Instead of it going to http://10.0.0.2/ it will be http://www.mydomain.com/. Thanks in advance.
    Ryan

    I have GoDaddy hosted domain name which I have setup to forward all web traffic to my ISP provided web page (eg http://my.webpage.ISP.com/account-name).
    There is nothing magical about that URL. So I do not see any reason why you can not use your DynDNS.org name.

  • Web sharing with Apache: Forbidden

    My Mac OS X 10.8 Mountain Lion Upgrade broke local web sharing of my  ~/Sites/ directories.
    I googled around and followed the advice in http://support.apple.com/kb/TA25038 , which matches my problem closely.  However, that solution does not repair the problem.
    My Sites directory and permissions:
    v21837:~ drf$ ls -la ~/Sites
    total 7160
    drwxr-xr-x   19 drf  staff      646 Aug  7 14:06 .
    drwxr-xr-x+ 197 drf  staff     6698 Aug  6 17:44 ..
    -rw-r--r--@   1 drf  staff    12292 Aug  3 21:26 .DS_Store
    -rw-r--r--    1 drf  staff        0 Feb  2  2008 .localized
    -rw-r--r--    1 drf  staff        3 Aug  7 14:06 00Junk.txt
    Safari on http://localhost/~drf/00Junk.txt:
    Forbidden
    You don't have permission to access /~drf/00Junk.txt on this server.
    Safari on a non-existent file:
    Forbidden
    You don't have permission to access /~drf/Junk.txtq on this server.

    I solved my problem.  I had cut and pasted the information into the /etc/apache2/users/UserName.conf file from a web page and used non-matching up/down quote marks like this:
    <Directory “/Users/username/Sites/”>
    rather than matching ones like:
    <Directory "/Users/username/Sites/">
    Apache seemed to parse it OK with 'apachectl -t', but with the up/down quotation marks, it did not enable my directory, apparently taking the quotes as literal parts of the directory name.

  • Web Sharing with Leopard 10.5.2 and Airport Extreme Base Station HELP!!!

    Ok...I want to set up web sharing on my computer but so far my attempts have failed.
    I have an intel iMac with Leopard 10.5.2 installed and I have the latest Airport extreme base station (With draft n).
    I turn on web sharing, and of course it works locally but not when trying to be accessed over the internet.
    Now I realize that by default my routers address wont let anyone connect to my computer over the internet.
    My router has an ip of 10.0.1.1, and I assigned my computer a static ip address of 10.0.1.200.
    Now in the network preferences pane and the airport category, i set my computers IP (the 10.0.1.200), I put the gateway as 255.255.255.0, the router as 10.0.1.1 and the DNS as 10.0.1.1
    Now going over to the airport utility I added a new entry in the port mapping section, with port 80 (both public and private) and the IP of my machine, 10.0.1.200.
    Now in theory this should work but NOOOOO.
    Does anyone have the same setup? a wireless network with the new airport extreme base station and has successfully configured Web Sharing?
    Thanks in advance.
    Felipe

    Well here is an update.
    I saw an entry in apple support that said I had to change some setting in the apache folder /etc/apache2 in order to avoid getting the 403 forbidden error. I tried this and it did not work, i checked my user configuration file as well and the path to my home site directory was correct
    Anyone here have a similar setup and has it working? It shouldnt be too hard to set up web sharing through a router. It has to be possible or else a lot of people would not buy a router because of this.
    thanks in advance to anyone kind enough to help
    Bye.

  • Just started home sharing with another computer, if I sync my iphone will it load my music to the newly shared computer?

    I just started home sharing for the first time. I just wanted to know if i sync my iphone with it will it load my music from the other computer onto the newly shared computer. Or are they supposed to have diffrent stuff in them? ( if so, if i sync my phone to the one with nothing will i loose the music thats on it?)

    The computer you sync your phone with has no relevance to home sharing. Home sharing between the 2 computers allows you to see, play and import items on the second computer from the first and vice versa.
    Whichever computer you sync your phone with, new purchases will be added to that computer and therefore be able to be seen, played and imported by the other.
    I rather thought that's what you wanted, it can be realised without changing the computer you sync your phone to. Of course if you want to change the computer your phone syncs with, you can, you just don't need to, to get the items on it onto both computers.

  • Web Sharing with Chat

    Has anyone set up a chat environment using web sharing - I have downloaded a version of MYSQL and a PHP chat tool, but hesitate to begin a configuration before asking if anyone's accomplished this. We need a chat tool for a short, (3 day) two sided meeting. We'd like to comment to one another using discrete messages sent back and forth rather than whispering and passing notes. Any help is greatly appreciated. We are using an Airport Express for our lan, not connected to W3.
    G4 17   Mac OS X (10.4.7)  
    G4 17   Mac OS X (10.4.7)  

    I have GoDaddy hosted domain name which I have setup to forward all web traffic to my ISP provided web page (eg http://my.webpage.ISP.com/account-name).
    There is nothing magical about that URL. So I do not see any reason why you can not use your DynDNS.org name.

  • Error starting web service with netbeans and tomcat

    Hi i'm trying to test a web service connection with mysql i follow all the steps showed here:
    http://jaxenter.com/from-database-to-restful-web-service-to-html5-in-five-minutes-48908.html
    the log :
    Using CATALINA_BASE:   "D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base"
    Using CATALINA_HOME:   "C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.3"
    Using CATALINA_TMPDIR: "D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\temp"
    Using JRE_HOME:        "C:\Program Files\Java\jdk1.8.0_11"
    Using CLASSPATH:       "C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.3\bin\bootstrap.jar;C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.3\bin\tomcat-juli.jar"
    17-Sep-2014 10:48:22.880 INFO [main] org.apache.catalina.core.AprLifecycleListener.init La biblioteca nativa de Apache Tomcat basada en ARP que permite un rendimiento óptimo en entornos de desarrollo no ha sido hallada en java.library.path: C:\Program Files\Java\jdk1.8.0_11\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:\Users\investigacion01\Desktop\adt-bundle-windows-x86_64-20140702\sdk\tools;D:\Users\investigacion01\Desktop\adt-bundle-windows-x86_64-20140702\sdk\platform-tools;C:\Windows\System32;C:\Program Files (x86)\nodejs;C:\Program Files (x86)\Git\bin;D:\Users\investigacion01\AppData\Roaming\npm;D:\Kony\ImageMagick;D:\Kony\Ant\bin;C:\Program Files\apache-ant-1.9.4\bin;C:\Program Files\Java\jdk1.8.0_11\bin;D:\Users\investigacion01\Desktop\adt-bundle-windows-x86_64-20140702\sdk\platform-tools;D:\Users\investigacion01\Desktop\adt-bundle-windows-x86_64-20140702\sdk\tools;.
    17-Sep-2014 10:48:23.062 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8084"]
    17-Sep-2014 10:48:23.086 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
    17-Sep-2014 10:48:23.088 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
    17-Sep-2014 10:48:23.090 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
    17-Sep-2014 10:48:23.090 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 523 ms
    17-Sep-2014 10:48:23.113 INFO [main] org.apache.catalina.core.StandardService.startInternal Arrancando servicio Catalina
    17-Sep-2014 10:48:23.113 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.3
    17-Sep-2014 10:48:23.120 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\HelloWorldWebService.xml
    17-Sep-2014 10:48:23.153 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to 'true' did not find a matching property.
    17-Sep-2014 10:48:23.180 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/HelloWorldWebService]]
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)
      at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:579)
      at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1744)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@2b6fe9b5]
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
      at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4841)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4966)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 10 more
    Caused by: java.lang.IllegalArgumentException: The main resource set specified [D:\Users\investigacion01\Documents\HelloWorldWebService\build\web] is not valid
      at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:627)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      ... 13 more
    17-Sep-2014 10:48:23.181 SEVERE [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Error durante el despliegue del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\HelloWorldWebService.xml
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/HelloWorldWebService]]
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:729)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:702)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:697)
      at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:579)
      at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1744)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)
    17-Sep-2014 10:48:23.182 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\manager.xml
    17-Sep-2014 10:48:23.462 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .
    17-Sep-2014 10:48:23.871 INFO [localhost-startStop-1] org.apache.catalina.util.SessionIdGenerator.createSecureRandom Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [347] milliseconds.
    17-Sep-2014 10:48:23.899 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\prueba.xml
    17-Sep-2014 10:48:23.902 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to 'true' did not find a matching property.
    17-Sep-2014 10:48:25.055 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .
    17-Sep-2014 10:48:25.061 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\ROOT.xml
    17-Sep-2014 10:48:25.158 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .
    17-Sep-2014 10:48:25.166 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8084"]
    17-Sep-2014 10:48:25.185 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
    17-Sep-2014 10:48:25.186 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 2096 ms
    17-Sep-2014 10:48:27.370 INFO [http-nio-8084-exec-3] org.apache.catalina.startup.HostConfig.undeploy Repliegue (undeploy) de la aplicación web que tiene como trayectoria de contexto /prueba
    17-Sep-2014 10:48:27.411 INFO [http-nio-8084-exec-1] org.apache.catalina.startup.HostConfig.deployDescriptor Desplieque del descriptor de configuración D:\Users\investigacion01\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\conf\Catalina\localhost\prueba.xml
    17-Sep-2014 10:48:27.414 WARNING [http-nio-8084-exec-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to 'true' did not find a matching property.
    17-Sep-2014 10:48:28.345 INFO [http-nio-8084-exec-1] org.apache.jasper.servlet.TldScanner.scanJars Al menos un JAR, que se ha explorado buscando TLDs, aún no contenía TLDs. Activar historial de depuración para este historiador para una completa lista de los JARs que fueron explorados y de los que nos se halló TLDs. Saltarse JARs no necesarios durante la exploración puede dar lugar a una mejora de tiempo significativa en el arranque y compilación de JSP .
    17-Sep-2014 10:48:28.374 INFO [http-nio-8084-exec-1] org.apache.catalina.util.LifecycleBase.start The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/prueba]] after start() had already been called. The second call will be ignored.

    This message comes up for me when i run a project that is different than what's indicated in the error message. In fact, the project has been deleted, yet, it still is referenced during the "run" step.

  • Personal Web Sharing doesn't want to start. (Apache problem)

    I have accidently deleted apache folders from my iBook. Then I reinstalled the apache, but when I tried to start my Personal Web Sharing, it just won't start. It says "Web Sharing Starting Up", but it stays that way for ages. Any idea? It worked before (I mean before the accident). I dunno if it's got to do with the mySQL coz I reinstalled another version of mySQL.
    iMac   Mac OS X (10.4.4)  

    I am experiencing the same problem: going through the System Preferences (in OSX 10.4.10), to the Sharing pane, then the Services Tab, and clicking Start Personal Web Sharing only gives me "Starting Web Sharing..." and never actually starts it.
    I have tried the following solutions:
    • replaced httpd.conf files using both the httpd.conf.default file from the machine in error as well as from another Mac (adapting the usernames as appropriate)
    • replacing the entire /private/etc/httpd directory with the one from the other Mac, whose Web Server will start up
    • when starting it via Terminal, i get "fopen: no such file or directory" so I created it... no dice.
    Can anybody give me any more suggestions?
    If not, I do have AppleCare on it - think they might help?

  • Personal Web Sharing doesn't start up

    A while ago I shut off the "Personal Web Sharing" tool simply because I did not need it. However at this moment I'm trying to restart it (which I assume is the Apache web service). So I go to System Preferences -> Sharing, and tick the "Personal Web Sharing" box. However, when I do, all I get is the message "Web sharing is starting up..." It stalls there and doesn't go any further.
    I haven't made any changes to Apache, but I have attempted to install PHP on my system using the package on http://www.entropy.ch/software/macosx/ -- it failed, giving me a generic error message.
    Is there a solution to this problem? Does it have anything to do with the messed-up PHP installation?

    I am experiencing the same problem: going through the System Preferences (in OSX 10.4.10), to the Sharing pane, then the Services Tab, and clicking Start Personal Web Sharing only gives me "Starting Web Sharing..." and never actually starts it.
    I have tried the following solutions:
    • replaced httpd.conf files using both the httpd.conf.default file from the machine in error as well as from another Mac (adapting the usernames as appropriate)
    • replacing the entire /private/etc/httpd directory with the one from the other Mac, whose Web Server will start up
    • when starting it via Terminal, i get "fopen: no such file or directory" so I created it... no dice.
    Can anybody give me any more suggestions?
    If not, I do have AppleCare on it - think they might help?

  • Web Sharing fails after 10.5.3 update

    Hi there, folks. Most of the time I lurk around here and find great answers, but this time I need some help. I just upgraded to 10.5.3 and now the webserver is failing to load. I checked the console and found the following:
    5/29/08 1:58:06 AM org.apache.httpd[295] httpd: aprsockaddr_infoget() failed for (insert addy here)
    5/29/08 1:58:06 AM org.apache.httpd[295] httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    5/29/08 1:58:06 AM com.apple.launchd[1] (org.apache.httpd[295]) Exited with exit code: 1
    5/29/08 1:58:06 AM com.apple.launchd[1] (org.apache.httpd) Throttling respawn: Will start in 10 seconds
    Repeat ad nauseam. I tried adjusting the servername (it was commented in the configuration) to localhost in etc/apache2/httpd.comf, restarted and was presented with this error:
    5/29/08 2:08:55 AM com.apple.launchd[1] (org.apache.httpd) Unknown key: SHAuthorizationRight
    5/29/08 2:08:55 AM com.apple.launchd[1] (org.apache.httpd[330]) Exited with exit code: 1
    I'm just a PHP scripter, I don't know the details of apache configuration so kindly forgive my ignorance if I'm overlooking something obvious. It worked perfectly before the 10.5.3 update, so I'm pretty sure that it was the cause... this especially bites since I'm on a deadline.
    Thanks in advance for any enlightenment you can offer!

    Thanks for the defense, Carlene. Again he's chosen to insult both me and my work instead of provide any kind of useful reference. I guess someone as smart as he has nothing better to do than to play vulgar games with those of us who are less mentally matured.
    At any rate, no, you don't need the tilde. Be sure you have the spelling and capitalization in the files/terminal written correctly, that the .conf file you saved was in plain-text, and that the chown command was actually successful. In theory once you restart web sharing, it will work. There are a couple of other things that I did which may or may not have had any effect:
    1. A permissions check with Disk Utility.
    2. Being sure "Listen 80" (or whatever port you want to use) appears in /etc/apache/httpd.conf
    3. That the proper servername is listed in httpd.conf (I use "ServerName 127.0.0.1:80")
    4. That you clicked reload in your browser and cleared out the cached page.
    After you mess with all of this be sure to check Activity Monitor and Console to see that things are running. If httpd doesn't appear in AM after starting web sharing, you still have a problem. It doesn't hurt to try a reboot once in a while either.
    Good luck!

  • Personal web sharing+php 5.2.2

    I installed PHP 5.2.2 for Apache 2 (I'm working on making a simple photo gallery) and it worked just after i installed it but it didn't give me any errors when my code didn't work. But now whenever I try and start web sharing it just says "web sharing starting up..." and stays like that. looking at the console I see a error:
    Processing config directory: /private/etc/httpd/users/*.conf
    Processing config file: /private/etc/httpd/users/+entropy-php.conf
    Syntax error on line 8 of /private/etc/httpd/users/+entropy-php.conf:
    Cannot load /usr/local/php5/libphp5.so into server: (reason unknown)
    /usr/sbin/apachectl start: httpd could not be started
    any ideas on how to fix this? I tried reinstalling PHP but it did not help.

    Hi--
    but i still have the problem of just getting back a
    blank screen when there is errors in my code. This
    makes it very hard to trouble shoot what is wrong
    with my code.
    You have two choices here. One is to just read the Apache error logs with the Console app. Otherwise, you'll need to find the php.ini file and enable sending the errors to the browser (they're off by default because it's something of a security risk). This page has pretty good instructions for doing that. His directions give the php.ini file's location as /usr/local/php/lib/php.ini, but mine, using the Entropy PHP5 distribution is at /usr/local/php5/lib/php.ini (note the extra "5").
    charlie

  • Web Sharing and Apache losing connection?

    ok so i just did a fresh install of 10.4 on my server (PowerMac G4 - 350 Mhz) i have set up my web sharing with a few tweaks like turned mod_ssl and installed MySQL. Other than that it's a pretty basic config.
    My problem is that i when i start or restart apache everything works and stays that way for hours as I am updating and testing. I go home at night and come back in the morning and i can not access any of my sites nor the local ip of the server (192.168.0.100) or 127.0.0.1
    so i restart apache and its back up...
    i do have a static IP so I know its not my IP Changing
    any ideas on keeping apache alive?

    What do the logs have to say about it?
    There's nothing anyone here can tell you about why it's stopping - there are just too many posibilities. The server logs, though, might provide some clues.
    Check specifically /var/log/httpd/error_log and /var/log/system.log

  • Web Sharing broke

    I've been using Web Sharing with php enabled to work on my webpage. Lately my macbook lost power and when I booted it back up the server seems to have stopped working. I've tried restarting, turning off web sharing and turning it back on. typing "sudo apachectl restart" in the terminal. It looks like everything is ok until I actually go to view the page. Chrome says that it could not connect to the IP. I can't access any of the files in my "Sites" folder.
    Is there any way to reset the apache server? or even find some kind of info on what the error is?

    Figured it out. silly mistake. My local IP had changed when I restarted.

  • ICHAT Screen sharing with "Share My Screen"

    I am able to screen share when I "Ask to share" my father's screen, and he is able to "Ask to share" my screen. Both work successfully. However, when either of us select "Share My Screen" with the other, the audio kicks in but the window that says "Starting Screen Sharing with" username just keeps spinning, never switching over to sharing the screen.
    I have a MacBook Pro running 10.5.2. He has a MacBook 1gb 2ghz Intel Core 2 Duo running 10.5.2.

    I am talking about this page/pane on the Airport Admin Utility info
    Where it says "Share AN IP" at the bottom, in the drop down
    This is where it does DHCP to your LAN (And therefore computers)
    If you do mean this pane then we need to know what IP is shown where the 75 is shown.
    Is it one starting 192.168.x.xxx (or 10.something or 172.something) ?
    If it does list an IP in one of those Groups and the SHare an IP is ON then you have two DHCP servers.
    As for accessing the DSL modem it is normally a question of using a Web browser
    You need the IP from the place where the 75 is showing as the "Router" IP This would be the one to use in a web browser if it is one of those groups.
    After that use this page http://portforward.com/routers.htm
    If you device shows then click on it.
    In the Next page click on iChat.
    The Page that comes up should be used for reference only.
    It should contain the default IP and the User ID and Password if it uses one.
    Once you get here check all the Settings and look to see what is active in UPnP if you have it, Port Forwarding, Port Triggering and DMZ.
    Lets us know what you find.
    Telling us the make and model will provide a bit of a check of other issues.
    11:06 AM Sunday; March 2, 2008

  • Personal Web Sharing and Filemaker Server Advanced

    After migrating from FileMaker Server-7 Advanced and installing version-8 Advanced web components (w/Easy Install) and restarting the Mac, Personal Web Sharing refuses to activate. I also cannot access the Filemaker Admin Console to create the FMSA account to register it with the database server.
    OSX Console log listed this error below when trying to start Apace with Personal Web Sharing:
    Syntax error on line 1 of /Library/FileMaker Server/Web Publishing/web-configuration/WEB-INF/conf/mod_jk.conf:
    Cannot load /usr/libexec/httpd/modjkfm.so into server: (reason unknown)
    /usr/sbin/apachectl start: httpd could not be started
    Line 1 of the mod_jk.file reads:
    LoadModule jkfmmodule libexec/httpd/modjkfm.so
    What needs to be corrected so I can start web sharing and access the FileMaker Web Publishing Engine in the browser?
    Using Mac OSX 10.4.6 on Mac Mini w/Intel dual core

    Apache is trying to load modjkfm.so which should be stored in /usr/libexec/httpd, but it isn't.
    This file should be installed by the Filemaker Server installer. If it wasn't installed by the Easy Install option, check the other install options to see if it's there.

Maybe you are looking for

  • Can't drag files from desktop to project files window

    Im using the latest premiere pro version, 7.2, and while I can drag files from my desktop to the project window in premiere 6, for some reason its no longer possible in premiere 7.2 whenver I try to drag audio or video files from my desktop or any fo

  • How to determine its an Express Edition

    What SQL Syntax command can return me with information to determine that the installed SQL Server Management Studio is of Express Edition or Enterprise Edition or any other Professional Edition? Thanx in advance.

  • Database access design using java bean

    Hi, I am writing a JSP/servlet/Javabean based app. using MVC architecture.The database related logic is in java beans. I want a generalized class/bean that can form a connection , execute the passed query and return the results.Does any one has any U

  • Create organizational charts using application express

    I would like to create organizational charts using the application express(HTMLDB). How do I go about it? I also tried the Aria sample application for HTMLDB 2.0, but when I try to run the scripts it asks for some bind variable parameters ' :NEW ' an

  • Web security question

    I have just completed a beautiful Lightroom 2 web gallery that is ready to be uploaded. I am uneasy about sending several hundred commercial photos I am marketing to the web without any copy protection. Is this a real concern and is there anything I