Real web sharing

Though there are "tons" of posts about this, I cannot find one that speaks to my level; nor one that seems to really fix the web sharing "Forbidden: You don't have permission to access /~shortname/ on this server" conundrum.
I'm brand new to OS 10.5.5, and I'm brand new to web sharing. Someone care to give a beginners blow-by-blow? Who knows, you may save everyone tons of band width if you describe it easily, clearly and completely enough.
As for me, I'm angry at Apple for turning what appeared to be easy (in Tiger) into Herculean. Another question screaming to be asked is why did this happen?

Why are you forbidden? It's not actually you that is forbidden. It is the www user which is actually trying to access the web page, not you. This is done in order to prevent hacking. There is a special user, www, that was created to be the agent to make web requests.
The Apache 2 configuration files determine where this user has permission to view.
On one of my installations, my username.conf file was not created. Once I duplicated one of the others and renamed it with my username, all worked fine.
Other problems could be permissions on the Sites folder. Leopard further strengthened security by more use of Access Control Lists (ACL). Instead of the basic permissions of read, write, execute for the owner, group, and everyone, Apple added finer detailed control of what each of those could do with a folder. However, Finder's Permissions section in Get Info does not play well with those ACLs if you "apply to enclosed items." This also propagates any ACLs to all contents of the folder. This will break a lot of things if done on the Home directory.
In order to determine what the actual cause on your machine is, we have to request you perform some terminal commands to see what is wrong.

Similar Messages

  • How can outside users access my iWeb sites shared via Web Sharing

    Since the coming demise of mobileme/idisk I have decided to publish all of my websites locally (created with iWeb) and share them by the Web Sharing feature in OS X. Everything works perfectly from any computer or device that is on my home network but once I am outside my network I cannot access any of my website nor can any family members. I have an airport network at home using an airport extreme and numerous computers and devices (ipods, ipad, etc) on the network. All can access from within the network but not from outside.  What can I do to fix this?
    I don't want to use a commercial service since my sites are large.  Tried Dropbox and it was too cumbersome.
    Thanks,
    Chris
    Web Server: iMac running OS 10.7.3 with Web Sharing on using the Sites folder inside my user folder

    Here is some info on hosting your website yourself:
    _WWW FAQs: How do I host a real domain name at home?_
    _How do I host my own website at home?_
    _Should I host my own web server?_ - This one describes the pitfalls of hosting yourself.
    I agree with Roddy. For about $3.95 per month you can get a fuil service host complete with 24/7 ear-to-ear customer support and all the bells and whistles at HostExcellence.com. 
    This tutorial descrtibes how it works so well with iWeb: iW16 - Using HostExcellence.com with iWeb as does this website: Using HostExcellence - iWebFAQ.org
    Other info can be found here: Life After MobileMe
    OT

  • Web Sharing and vhosts

    Hi all
    Can some one help with regards to setting up web sharing and vhosts under 10.8.
    I have started apache (sudo apachectl start).
    I've enabled php and mysql.
    I have de hashed (#) Include /private/etc/apache2/extra/httpd-vhosts.conf
    I have added my vhost :
    127.0.0.1      www.myvhosts.dev
    127.0.0.1     myvhost.dev
    to the file     /private/etc/hosts
    I have also edited the http-vhost.conf file by adding
    <VirtualHost *:80>
            DocumentRoot "/Volumes/MacPro RAID/Web Development/myvhost"
            ServerName www.myvhosts.dev
    </VirtualHost>
    <VirtualHost *:80>
            DocumentRoot "/Volumes/MacPro RAID/Web Development/myvhost"
            ServerName myvhosts.dev
    </VirtualHost>
    But typing in www.myvhosts.dev or myvhosts.dev takes me straight to google.
    Further more http://localhost and http://localhost/~username
    both kick out access errors that I have tried to fix with a user.conf file with
    <Directory "/Volumes/MacPro\ RAID/stevenwhiteley/Sites">
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
    But nothing works.
    Any assistance would be most apprecated.
    Cheers
    Steve

    Either move the content to the /Library/WebServer/Documents
    directory or create aliases in that directory for the real files.
    Dave

  • Web sharing & 403 Firbidden, one more time

    I've read, to varying degrees of understandability, various articles and help files on the 10.5 web sharing issue. I've tried & failed. I've come to the article below, which I think states clearly why web sharing does not work out of the box with 10.5.5. I want to follow the ix it offers, but, as with so many other articles, it talks a level or 2 above my expertise.
    My questions include:
    • How do you "Navigate to the Apache2 user configuration directory"? What does that mean?
    • What is "cd /private/etc/apache2/users"? Is it a file? Is it something you type in Terminal?
    • What it "tee"?
    Questions go on along these lines until the end of the article; in short, is there a how-to for Apache / Terminal beginners. The overriding question is, why hasn't Apple addressed the web sharing snag by the 10.5.5 iteration of the OS?
    FYI I am hung up on web sharing directly due to my move from Palm to iTouch as PDA. With the Palm Zire31 I was able to do light word processing, and did hundreds of paragraphs with it; also as a reader, and reads tens of thousands of articles on it. I want to do the same with the iTouch. To that end I've duly downloaded and installed BookZ and eReader, to enable me to move articles back & forth from the iTouch to my new iMac, to be blocked by the dreaded 403 error.
    After reckoning this problem I hope a 3rd party will come out with a real light WP app like that for the Palm: WordSmith.
    Here's the article-
    Configure Apache Web Sharing for user accounts in Mac OS X 10.5 Leopard:
    http://www.gigoblog.com/2007/11/08/configure-apache-web-sharing-for-user-account s-in-mac-os-x-105-leopard/
    Someone please help me.

    Leopard web sharing works just fine out of the box (well, it does for me anyway), although if you updated from Tiger rather than doing a fresh install (not really a good idea for new OS version), you may get the 403 error. Once turned on, it is as simple (?) as dropping files into your user's Sites folder.
    That article is horrible - I don't know what the heck they are doing using a utility such as tee to edit configuration files. For stuff like this, the free text editor TextWrangler works as well as shell utilities (especially for those not comfortable with them), and it can also navigate to and open those normally hidden files.
    As for Apache, it is industrial strength, so there is a lot of stuff you can do with it (don't ask me, I'm just a duffer). The default websites on your computer (as shown in the System Preferences > Sharing > Web Sharing pane) have links to the documentation on your computer, or you can wander around and find other references such as Apache DevCenter.

  • Unable to start up Personal Web Sharing (OS X 10.3.9)

    I have been trying to start up Personal Web Sharing since yesterday. It keeps saying "Web Sharing starting up...", but nothing ever happens.
    Actually, what I want to do is to set up a test server environment (not a real server for everyone on the web to access) to learn PHP, MySQL and XOOPS. I bought Teach Yourself PHP, MySQL and Apache by Julie C. Meloni (Sams Publishing) and installed MySQL 5.0.22 and PHP 5.1.4 following the instructions on the book. But I was not able to see anything when I entered http://localhost/phpinfo.php on FireFox. (The book tells me to create a simple script called phpinfo.php and save it to /Library/WebServer/Documents.)
    I thought the problem might be that I didn't have Personal Web Sharing on, so I went to System Preferences' Sharing panel to start it up. But it just hangs in starting mode... never starts...
    I tried Charles's suggestion to Harvey ( http://discussions.apple.com/thread.jspa?messageID=680762&#680762 ). The /usr/sbin/apachectl configtest command returns the following result:
    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)
    I'm wondering if PHP 5.x does not support Panther, but php.net doesn't seem to say so... (I downloaded PHP 4.4.4, but haven't figured out how to use it to replace PHP 5.1.4...) Or maybe it's because I'm connecting to the web via an open network (at a cafe)?
    Any suggestions will be much appreciated!
    powerbook g3 firewire   Mac OS X (10.3.9)   XLR8 G4 upgraded

    Thank you~ FifthWheel & Karl~!
    Even if you're on an open network, or on no network at all,
    Apache should start if it is properly configured (even with
    no network, the loopback address 'localhost' is still available).
    Thank you for the answer! This has been very confusing to me!
    I still haven't been able to find out whether PHP 5.1.4 is compatible with Panther's Apache or not (couldn't even find which version of Apache Panther has...) But a guy from another Mac forum (www.oikos.com.tw) seems to be very certain that Entropy's PHP 5.x package is not compatible with Panther. I guess I will just take what he said. I've already sent my complaint to Sams Publishing.
    I found "Building and Installing Apache 2.0.54 and PHP 5.0.4 on Mac OS X 10.3.8" on phpmac.com. But it seems quite risky for someone who does not have unix knowledge like me. So I guess what I should do is to find out how to remove the PHP 5.1.4 I installed and install PHP 4.x instead.
    Still seeking for a solution... I guess I should start learning Unix too...

  • Two new MacBooks: Personal Web Sharing ODDITY

    Dear MacBook, Airport or Apple networking pro's please enlighten us:
    We are longtime Mac users and just bought two new MacBooks (one white, one black for what that matters) turned on "Personal Web Sharing", join one to the other's network/comp name there in the Aiport drop-down menu and partial success: web browser accesses internet fine but neither email client (Apple's Mail) or ANY over our many IM services (MSN, AIM, ICQ, etc) works.
    Could it be that i am not allowed to have the Firewalls on?
    Or??
    Help.
    Thanks!!
    D&D

    UPDATE:
    .... ok, so I turned OFF firewalling on BOTH laptops and now ALL internet related services/apps function.
    But that is NO real solution if now we have no protection. We are on a very busy network and our concern is that a bunch of the other 15,000 young board Ukrainian hacker kids would love to sneak on in and start exploring our cool Mac's.
    If "Windows Sharing" is NOT checked in Services does that make it impossible then for any incoming searches or connection attempts to connect?
    We do have "Personal File Sharing" checked in Services because we use/need that ability to share files between our comps.
    What to do?
    Please help us get this fixed so that both full internet services are available to both comps but NO PC on the network here could come explore our HDrives.
    THANKS!

  • Is there an FAQ or step by step tutorial for personal web sharing?

    First off, if anyone knows of an FAQ somewhere that answers this question, post me the link.
    Am trying to build a comon web page for synching iCal on a stans alone machine and am sure this is a very common question from new iCal users like myself:
    Situation:
    -Multiple users on same iMac
    -Different accounts Mom, Dad, Kids, Nanny
    -Need to collaborate schedules
    Want to create a webpage on my machine (without .mac) where we can publish calendars.
    Tried turning on personal web sharing in the system preferences but the addresses listed only show a page listed as "Access Forbidden."
    Is there a step by step tutorial out there? I could really use one.

    Thanks to all for replying. The information posted was very informative and answered my questions asked.
    I guess the real answer for me the very novice and deliberatly blissfull user is: No.
    I switched to Mac after assembling my own PCs to try and get then to do what I wanted. The driver/dll/ini issues were maddening!!!
    Am not tech-phobic, but am loathe to start working in the terminal and with code since I know so little and it was that commercial that said "I got tired of being my own tech dept." that made me switch.
    Looked at the tutorials and there are always comments underneath with comments about how there is a typo here, mispelling, there, better code over yander etc. linux/apache/unit/windows flame wars etc.
    All I want it to do is work or not. Since it is not; will find another way.
    Between purusing sites I think I came up with a simple low tech solution.
    In the shared folder create an iCal_Shared folder. From one user export a calendar complete with a date. For example Dad's work as of 15 JAN. Then in the duaghter's calendar import the same calendar. Knowing that as changes are made by me, I will have to update the exported file, and my daughter will have to be aware of the as of dates.
    A lot of solutions out there are for the corporate world. Am happy to Apple gaining market share but I am on a stand alone machine.
    The iPhoto manager is a great product from a third party and was happy to pay for it. Saves me a lot of time with 20K+ pictures.
    Just want an app causing iCal to behave simply, ie my daughter and I could share calendar information on our machine without running WebDAV server, a three tiered digital satelite hookup, etc,
    Pie Argh Squarred..It seems to me that Apple woule be better off if they came up with solutions like that that cost $20 since they would reach a lot more people than they are now with the $100 annual .mac extortion fee.
    Kudos to those of you who are much smarter and braver than I and again I thank you for your posts as they have opened my eyes as to just how old I am getting! Perhaps my daughter should solve this one for me!

  • Web sharing not working in 10.5.7?

    Hi,
    I am attempting to use Web sharing to test websites in local, but it doesn't seem to work; whenever I connect to the MacBook using http://localhost, it fails, saying server cannot be found. Same goes when I connect using the iPod Touch, typing the MacBook's IP adress, 192.168.4.119. No result either when using Windows or Ubuntu; server cannot be reached.
    I already tried creating another admin user, to no avail. Also used Disk Utility to repair permissions errors. Also rebooted the router, no effect.
    Using an externally-installed OS 10.5.7 works, though, as well as Distant session, Screen sharing and Fiel sharing.
    Console is full of error messages such as:
    06/06/09 21:59:04 org.apache.httpd[742] (13)Permission denied: make_sock: could not bind to address [::]:80
    06/06/09 21:59:04 org.apache.httpd[742] (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
    06/06/09 21:59:04 org.apache.httpd[742] no listening sockets available, shutting down
    06/06/09 21:59:04 org.apache.httpd[742] Unable to open logs
    06/06/09 21:59:04 com.apple.launchd[387] (org.apache.httpd[742]) Exited with exit code: 1
    06/06/09 21:59:04 com.apple.launchd[387] (org.apache.httpd) Throttling respawn: Will start in 10 seconds
    06/06/09 21:59:08 com.apple.launchd[1] (org.apache.httpd) Unknown key: SHAuthorizationRight
    06/06/09 21:59:08 org.apache.httpd[746] (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
    06/06/09 21:59:08 org.apache.httpd[746] Unable to open logs
    06/06/09 21:59:08 com.apple.launchd[1] (org.apache.httpd[746]) Exited with exit code: 1
    06/06/09 21:59:08 com.apple.launchd[1] (org.apache.httpd[746]) Exited with exit code: 1
    06/06/09 21:59:08 com.apple.launchd[1] (org.apache.httpd) Throttling respawn: Will start in 10 seconds
    06/06/09 21:59:14 org.apache.httpd[750] (13)Permission denied: make_sock: could not bind to address [::]:80
    06/06/09 21:59:14 org.apache.httpd[750] (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
    06/06/09 21:59:14 org.apache.httpd[750] no listening sockets available, shutting down
    06/06/09 21:59:14 org.apache.httpd[750] Unable to open logs
    06/06/09 21:59:14 com.apple.launchd[387] (org.apache.httpd[750]) Exited with exit code: 1
    06/06/09 21:59:14 com.apple.launchd[387] (org.apache.httpd) Throttling respawn: Will start in 10 seconds
    06/06/09 21:59:18 org.apache.httpd[751] (2)No such file or directory: httpd: could not open error log file /private/var/log/apache2/error_log.
    This MacBook was formatted yesterday, restored from TM backup, updates were applied, before starting to use it.
    I have a Time Machine dating from before this restore, but only started using Web sharing today.
    What operation should I do to solve this?
    BTW, I verified the config file using this command:
    apachectl configtest
    httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.4.119 for ServerName
    Syntax OK

    Just did it now. Both http://127.0.0.1:631/ and http://localhost:631/ gives out the CUPS server web interface. However, putting either http://127.0.0.1/ or http://localhost/ gives out the same error that server can't be found. Seems linked to Apache only.

  • Web sharing is not starting

    Yesterday i reinstalled the os x bundle cause of isyn was not working properly now isync is working fine but web sharing is not starting. i checked on web sharing from system preferences when i closed the window and comeback again to sharing i see web sharing everytime unchecked i did also locked but still unchecked. if i go to localhost/mysite its say: "Safari can’t open the page “http://localhost/” because it could not connect to the server “localhost”. please tell what i am doing wrong.

    Thanks web sharing is working but if i type http://localhost/gmm/index.html it says"Not Found"
    The requested URL /gmm/index.html was not found on this server.
    but if i type http://localhost/index.html it shows apache page and says "This page is here because the site administrator has changed the configuration of this web server. Please contact the person responsible for maintaining this server with questions. The Apache Software Foundation, which wrote the web server software this site administrator is using, has nothing to do with maintaining this site and cannot help resolve configuration issues." but i can't see this page in the Sites folder. I didn't change any thing, don't know what to do.

  • Web sharing/Apache not working

    My web sharing doesn't seem to be working.
    When I have it enabled in the Sharing panel of the System Preferences, I try to click on the link
    My Computer's Website
    http://myIPaddress
    I get an error message, in both Safari and Firefox, saying that I cannot make a connection to the server. This is similar to other threads in this section except for the following:
    - I do have a /var/log/apache2 directory
    - I did a chmod 755 on the directory
    - the directory is empty
    - http://localhost does not work
    when I look through a list of my tasks (on the Activity Monitor), I don't see anything related to apache so I'm wondering if my Web Sharing has not initiated the apache server.
    I'm running 10.5.6 on a PowerBook G4.
    Thanks in Advance

    You shouldn't see any apache items in Activity Monitor. I've got web sharing on, and I see a bunch of httpd processes in Activity Monitor. Try repairing permissions on your hard drive. Also, look for some config files located in /etc/apache2/. I see the following files/folders in there on my machine:
    drwxr-xr-x 13 root wheel 442 Nov 24 2007 extra
    -rw-r--r-- 1 root wheel 17684 Jan 27 07:21 httpd.conf
    -rw-r--r-- 1 root wheel 12958 Nov 24 2007 magic
    -rw-r--r-- 1 root wheel 28782 Nov 24 2007 mime.types
    drwxr-xr-x 4 root wheel 136 Aug 13 2008 original
    drwxr-xr-x 4 root wheel 136 Nov 24 2007 other
    drwxr-xr-x 3 root wheel 102 Aug 13 2008 users

  • Help! I need to get web sharing up and running!

    I am working on a web project and just downloaded MAMP only to find that the Apache Server is not running on my laptop running OSX 10.7.5. My understanding is that all I need to do is to turn on Web Sharing but for some reason it refuses to start up... I did some searching around on the web to see what i should do and then Ran Console to see what messages the system was throwing up when I started up web sharing... here is what I got...
    10/8/13 11:53:16.724 AM org.apache.httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.1.254 for ServerName
    When I open a browser and put in 192.168.1.254, I get the configuration page for the AT&T gateway! why would apache use the ip for the gateway?
    Can anyone look at this and tell me what I need to do to get Apache started? This is for a very important project that I need to start for a client and I did not expect Apache not to work on my machine.. Please note that I am not too familiar with command line interface so if I need to go into terminal it would be helpful to have step by step instructions... Any help would be greatly appreciated, even pointers to references that might help...
    Many thanks!
    David

    Not sure about MAMP but have a look at Setting up a local web server on Lion and Mountain Lion  for how to get apache running.
    regards

  • How can i see the REAL web address, before i click the link, in an iOS device email?

    on my windows devices, when i mouse over a link, they show me the REAL web address, before i decide if i want to click it or not. How do i do this on apple devices?

    on my windows devices, when i mouse over a link, they show me the REAL web address, before i decide if i want to click it or not. How do i do this on apple devices?

  • How to do web sharing windows xp to site on macbook?

    I've created a website with iweb '08 on a macbook, 10.6.8.  I've clicked on "web sharing" in system preferences.  My ipad can access the website on the macbook, but my windows xp desktop can't open it but doesn't say "server not found"  it opens a page about APACHE.  Is the problem on the macbook or on the desktop?  And how can the problem be solved? General Information: (a) All computers are in the same wireless home network.  (b) The pc has never been able to reach shared documents on the macbook, but the macbook can access shared documents on the pc.

    Your post was almost a year ago but whatever.  It sounds to me like your pc is going to the library/webserver/documents folder to pick up your site.  But your site is most likely in your sites folder under your profile.  The addresses are different: 192.168.0.1 or whatever ending digit yours is and 192.168.0.1/~username, respectively.  Yeah, there are two different website folders. You'll see the Apache index.html in the docs folder.  Hey, at least you know "it works!"; now just replace the index doc and put your resources in there and you're hosting (port forward your router and it's on the internet for sure with your external IP as the address, otherwise it's just local).  Also, you must not have file sharing between mac and windows (windows file sharing or smb protocol or something like that) enabled on the macbook; hence, no shared docs folder.

  • Turning on Web Sharing does not work and fails to load apache web server

    Sort of answering my own question here but hope it will be useful to other people and save them some time.
    After receiving my shiny new imac with os x lion pre-installed, I was a little dismayed and confused when I went to System Preferences -> Internet and Wireless -> Sharing and attempted to check the Web Sharing. Every time I clicked this option I was told Web Sharing was starting but would then repeatedly fail and apache failed to start.
    Looking in the Console I find:
    org.apache.httpd: dyld: Library not loaded: /usr/lib/libpq.5.dylib
    org.apache.httpd: Referenced from: /usr/sbin/httpd
    org.apache.httpd: Reason: image not found
    Entering in the console:
    vim /Library/Logs/DiagnosticReports/httpd_2011-08-06-165030_localhost.crash (date and time bit will vary)
    reveals:
    Process:         httpd [2418]
    Path:            /usr/sbin/httpd
    Identifier:      httpd
    Version:         ??? (???)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [1]
    Date/Time:       2011-08-06 16:50:30.106 +0100
    OS Version:      Mac OS X 10.7 (11A511a)
    Report Version:  9
    Crashed Thread:  0
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    dyld: launch, loading dependent libraries
    Dyld Error Message:
      Library not loaded: /usr/lib/libpq.5.dylib
      Referenced from: /usr/sbin/httpd
      Reason: image not found
    Binary Images:
           0x1022f6000 -        0x102352fef  httpd (??? - ???) <9D63FBFD-DD87-3DD5-AD1A-D8A79FEC3EE8> /usr/sbin/httpd
    "/Library/Logs/DiagnosticReports/httpd_2011-08-06-165030_localhost.crash" 32L, 1469C
    TO FIX THIS ISSUE:
    It appears /usr/lib/libpq.5.dylib does not exist but /usr/lib/libpq.5.3.dylib does.
    Fix by creating a symbolic link from /usr/lib/libpq.5.3.dylib to /usr/lib/libpq.5.dylib
    =
    sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    Going back to System Preferences -> Internet and Wireless -> Sharing clicking Web Sharing a couple of times turns Web Sharing on successfully!
    Going to http://localhost/ displays the "It Works!" page.
    HTH people as it took me a while to find the correct solution online from:
    http://www.azattis.com/2011/07/os-x-lion-postgresql-84-install-problem.html

    Hi there,
    You seemed to have had a similar problem to what I now have and so wondered if you might be able to help me :-)
    I have posted this as a new post as well but if anyone has five mins could they take a look - I would be very grateful. Here you go:
    I am new to all this so I have probably made some simple errors and I hope someone can help me. I will retell what I have done as I haven't a clue what part of what I have done has mucked things up.
    I am really stuck. Web sharing will not start on my iMac running Lion OS X. It did work fine and then I wanted to activate PHP so my test website contact form would work (and send the data on the form throught to my email address.
    Before I did anything I turned on websharing and could view my website from another computer using: http://192.168.1.4/~stewartfergusson/
    I think followed the instructions on this link to activate PHP -http://foundationphp.com/tutorials/php_leopard.php
    I then did a few things in terminal and will paste below what I did:
    Last login: Sun Jan  1 09:01:52 on console
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd/private/etc
    -bash: cd/private/etc: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd prvate
    -bash: cd: prvate: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd private
    -bash: cd: private: No such file or directory
    Stewart-Fergussons-iMac:~ stewartfergusson$ cd /private/etc
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo cp php.ini.default php.ini
    WARNING: Improper use of the sudo command could lead to data loss
    or the deletion of important system files. Please double-check your
    typing when using sudo. Type "man sudo" for more information.
    To proceed, enter your password, or type Ctrl-C to abort.
    Password:
    Stewart-Fergussons-iMac:etc stewartfergusson$
    Last login: Wed Jan  4 09:03:03 on console
    Stewart-Fergussons-iMac:etc stewartfergusson$
    Last login: Thu Jan  5 06:19:15 on console
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo In -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    Password:
    sudo: In: command not found
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo ln -s /usr/lib/libpq.5.3.dylib /usr/lib/libpq.5.dylib
    ln: /usr/lib/libpq.5.dylib: File exists
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo apachectl -t
    Password:
    Syntax error on line 1 of /private/etc/apache2/httpd.conf:
    Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
    Stewart-Fergussons-iMac:etc stewartfergusson$ sudo apachectl configtest
    Password:
    Syntax error on line 1 of /private/etc/apache2/httpd.conf:
    Invalid command '1', perhaps misspelled or defined by a module not included in the server configuration
    Stewart-Fergussons-iMac:etc stewartfergusson$
    An important point to note is that I now appear to have more than one http.config file and they are located in the following locations:
    1) Macintosh HD/etc/apache2/httpd.conf.default
    2) Macintosh HD/etc/apache2/httpd.conf.default.default
    3) Macintosh HD/etc/apache2/original/httpd.conf
    I edited this file (which one I have not got a clue) and also the php.ini file within Macintosh HD/etc/ using Terminal - the command I used was sudo cp php.ini.default php.ini
    This php.ini file now exists in two locations now as well:
    1) Macintosh HD/etc/php.ini
    2) Macintosh HD/etc/php.ini.default
    I then edited this file by changing the line of code below from:
    514 error_reporting = E_ALL & ~E_NOTICE (I think it said E_DEPRECATED actually) but I am lifting this from the web page in the link above)
    To:
    514 error_reporting = E_ALL
    I then saved this file.
    I then deactivated web sharing in System Preferences and since then have not been able to restart Web Sharing. I click it and it flashes orange for a second then does not start.
    This was all done to activate PHP on my iMac so I can host my own site which has a PHP contact form page.
    Please help I am so out of my depth I am very worried I may have changed things and I am going to forget what I did.
    If you need to know anything then please ask.
    Thank you so much
    sfergusson1
    'JollyoldEngland'

  • Personal Web sharing not installed HOW - do I install?

    Hi - I have had an extremely frustrating 4 hours or so between trying to google a solution to the problem and examining the contents of the installation disk with pacifist - I am still none the wiser.
    I have not tried to set up a localhost server on my Intel Mac running 10.4.9 I have had since september and it should be as easy as pie to do so from what I have read.... but not in my case!
    I went to apple > system preferences > sharing and tried to check personal web sharing as suggested in many places but get this for my trouble
    'Web Sharing is not installed on this computer. To install Web Sharing, use the Mac OS X installer.'
    My question is how do I do so without dausing a reformat and still not getting the option?
    I have used pacifist to try and locate either PWS or apache installers inon the disc but sinply am at a loss to find either. Hope someone can help
    Thanks in advance

    NOt that I am aware of - I may have tried to do something like launch the apache index page from httpd or similar in the first couple of days of owning the machine but unless by some sure accident I have not altered any settings.... ( I never got into admin settings or any of that from what I remember)
    I'm not even looking for PHP or mySQL now - Just a running WS so that I can test CSS in it.
    Even so - I still have absolutely no idea where the pws taller is located on the installation disk that I am referred to so therefore am not willing to unstall it for reasons mentioned. I most certainly do not want a reinstall for the sake of a little but in my case neccessary application
    Good point Gnarlodious - like to hear what angle you are coming from on this (particularly if you can help me get this sorted out from the disk as Apple suggest. Much as I love my conversion to apple I have to say the documentation and overall support from the site is appalling (I thought Microsoft was bad......). Instructions such as that encountered on the PWS toggle are vague to say the very least
    Thanks for the reply

Maybe you are looking for

  • Is there a way to look at history IF it is done on private browsing?

    Here is my dilemma...In point blank terms, My partner has an IPAD 3...and has a serious problem looking at ****..and then clearing his history... I have gone into Safari,-advanced-web data and found all the websites that are visited.  After confronti

  • Flash builder 4.7 iOS Debug Binary (IDB) component  is not installed.

    I get the error below consistantly. Is the IDB supposed to be part of the flex 4.6 sdk or part of an air sdk? (I've not seen it in either) Some components required to launch the application were not found. Please reinstall the AIR SDK and try again.

  • With out using Weblogic libraries to maintain the same functionality

    Hi, Please tell the solution of my problem.Here application developed in Weblogic,now we are migrating that applicationin jboss.Here one java servlet program is there which is using Weblogic libraries to get the connection pool . How can change the c

  • Global correlation update

    Hi, Will the IPS go offline during a global correlation update? We are running sensor version 7.1.(7)E4 and are noticing drops due to the IPS being unavailable. The timing of theses matches global correlation updates on the IPS.                      

  • Anyone else having trouble with HBOgo on mountain lion

    It told me I needed to update my flash player and I did that and then it tells me Application Error We're Sorry! Is it just my cable provider and not my compter?