Running Python locally on Mountain Lion

I have my local environment set up to run MySQL and PHP. I'm beginning to branch into other languages and trying to get Java, Python, and Ruby to run in my local web server.  All of the languages are installed correctly but apache is not recognizing them or giving me permission issues.
I've started with Python and after many issues getting apache to recognize the .mod I am now getting a 403 error when I go to that page.
I'm not sure what the next step is in trying to get this to work correctly.
403 Forbidden
Forbidden
You don't have permission to access / on this server.
<VirtualHost *:80>
          DocumentRoot "/Library/Webserver/Documents/python-mn"
          ServerName python.local
          ServerAlias www.python.local
          WSGIScriptAlias / /Library/WebServer/Documents/python-mn/wsgi.py
          <Directory /Library/Webserver/Documents/python-mn>
                #Options Indexes FollowSymLinks MultiViews
                Options Indexes FollowSymLinks Includes ExecCGI
                AllowOverride All
                Order allow,deny
                allow from all
          </Directory> 
</VirtualHost>
Here are some results from terminal:
tail -f /var/log/apache2/error_log
[Fri Sep 06 15:30:51 2013] [error] [client 127.0.0.1] mod_hfs_apple: Mis-cased URI or unacceptable Unicode in URI: /Library/WebServer/Documents/python-mn/wsgi.py, wants: /Library/Webserver/Documents/python-mn/
ping python.local
PING python.local (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.041 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.054 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.153 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.159 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.130 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.134 ms
64 bytes from 127.0.0.1: icmp_seq=6 ttl=64 time=0.054 ms
64 bytes from 127.0.0.1: icmp_seq=7 ttl=64 time=0.073 ms
64 bytes from 127.0.0.1: icmp_seq=8 ttl=64 time=0.135 ms
64 bytes from 127.0.0.1: icmp_seq=9 ttl=64 time=0.111 ms
64 bytes from 127.0.0.1: icmp_seq=10 ttl=64 time=0.130 ms
64 bytes from 127.0.0.1: icmp_seq=11 ttl=64 time=0.131 ms
64 bytes from 127.0.0.1: icmp_seq=12 ttl=64 time=0.133 ms
64 bytes from 127.0.0.1: icmp_seq=13 ttl=64 time=0.136 ms
64 bytes from 127.0.0.1: icmp_seq=14 ttl=64 time=0.132 ms
64 bytes from 127.0.0.1: icmp_seq=15 ttl=64 time=0.140 ms
64 bytes from 127.0.0.1: icmp_seq=16 ttl=64 time=0.136 ms
64 bytes from 127.0.0.1: icmp_seq=17 ttl=64 time=0.105 ms
64 bytes from 127.0.0.1: icmp_seq=18 ttl=64 time=0.052 ms
64 bytes from 127.0.0.1: icmp_seq=19 ttl=64 time=0.074 ms

Additional information and links.
Parallels
VirtualBox
VM Fusion
Snow Leopard server for use with the above. Call 1-800-692-7753 and order part number MC588Z/A. Cost is $19.99 + sales tax and shipping.

Similar Messages

  • An error occurred while preparing the installation try running this application again mountain lion

    I have Macbook Pro. Previous OS was Mountain Lion 10.8.5. It was running smoothly. When I have tried to clean install the NEW Maverick 10.9 it didnt work. I erase the drive then restart for boot. nad my usb boot disk was connected. When the window came for reinstall the OS. I click. click to "continue" but then it says....there has a problem with boot. But six months ago I installed it in the same way without any error or any hamper. after that i tried many times to boot and install but i failed. i tried to recover it by internet recovery. it takes few hours. after completation the recovery the reinstall window again came. i click to reinstall then it says "an error occurred while preparing the installation try running this application again mountain lion"

    i tried several times but it doesn't work. now i am downloading again osx 10.8.5 dmg to try again.

  • HT204380 Facetime Activation: Could not verify the email address. Please re-enter and try again.   Tried so many times,even changed my appe ID and purchased a new facetime for iMac running 10.8.4 Mountain Lion,yet still same outcome. Can somebody help me?

    Facetime Activation: Could not verify the email address. Please re-enter and try again.   Tried so many times,even changed my appe ID and purchased a new facetime for iMac running 10.8.4 Mountain Lion,yet still same outcome. Can somebody help me?

    I have the same problem. FaceTime works fine on my iMac but when trying to use FaceTime on my Macbook Air, I have the same issue you describe.

  • Why is Safari running so slow under Mountain Lion?

    Why is Safari running so slow under Mountain Lion?

    I have other mac's on my home network that are still running Snow Leopard and the are performing well. I wanted to use the iCloud so I upgraded and instantly started experiencing the slow down, to the point of ridiculousness. Other function are mixed some normal speed, others a day on the beach with the spinning ball. Firefox is at full speed, good thought, haven't checked Chrome yet.
    Last night and hooked into a projection unit that adjusted my screen resolution for a presentation and after the event my Mac reset back to the normal settings and Safari launched and is running normal speeds so far. In the past there have been issues with performance speeds and certain resolutions, has anyone had similar luck or is this a fluke?

  • I am running cs4 suite in Mountain Lion and when I make PDF's, Helvetica Neue regular and bold both appear as squares. Any ideas on how to fix this??

    I am running cs4 suite in Mountain Lion and when I make PDF's, Helvetica Neue regular and bold both appear as squares. Any ideas on how to fix this??

    Firstly you have to be very careful as these fonts are system fonts and are critical to the operating system.
    I'm no expert I just followed the advice in this link.
    http://indesignsecrets.com/removing-nonessential-system-fonts-in-leopard.php
    It worked for me and now the font works in illustrator without converting to paths before creating pdfs.
    Hope this helps...

  • Cisco Connect does not run with Mac OSX Mountain Lion (10.8.2)

    When I first installed Cisco Connect that came with my E1500 router, I was running Mac OSX Snow Leopard (10.7) and it worked fine.  I upgraded my OSX to Mountain Lion and now when I start Cisco Connect, I get:
    Unsupported operating system
    The router software supports these operating systems:
    - Mac OS X 10.5.8 or later
    - Mac OS X 10.6.1 or later
    - Mac OS X 10.7 or later
    I saw some other thread/info/download on Cisco Connect with Lion (10.7) but nothing for Moutain Lion (10.8) - is there a fix forthcoming?
    Thanks
    Gary

    All i want to do is disable the guest function through cisco. i live in an apartment and everyone logs into my guest account. i was at my neighbours and they were laughing saying they done need to subscribe for the internet cause they just log onto local wi fi. and mine is one of them. i dont know if that'll slow down my internet with so many people using it. but all i want to do is just avoid it all together and get rid of it. but in this case i am having the same problem as all of you. to disable the guest function you need to go through cisco connect and it is not compatible with mac osx mountain lion. grrrrrrr

  • How do I upgrade my Mac Mini running Snow Leopard to Mountain Lion? Thanks

    I have a Mac Mini running Snow leapard. I believe i can update it to Mountain Lion but have read I have to first update it to Lion. This is where Im struggling. How do I get a copy of Lion as I cant download it as there is not an App Store on Snow Leapard.
    Any help would be great!

    Upgrading to Snow Leopard, Lion, or Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
    You can purchase Snow Leopard by contacting Customer Service: Contacting Apple for support and service. The price is $19.99 plus tax. You will receive physical media - DVD - by mail.
    Third-party sources for Snow Leopard are:
    Snow Leopard from Amazon.com
    Snow Leopard from eBay
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service. The cost is $19.99 (as it was before) plus tax.  It's a download.
    Be sure your computer meets the minimum requirements:
    Apple - OS X Mountain Lion - Read the technical specifications.
    Macs that can be upgraded to OS X Mountain Lion
      1. iMac (Mid 2007 or newer)
      2. MacBook (Late 2008 Aluminum, or Early 2009 or newer)
      3. MacBook Pro (Mid/Late 2007 or newer)
      4. MacBook Air (Late 2008 or newer)
      5. Mac mini (Early 2009 or newer)
      6. Mac Pro (Early 2008 or newer)
      7. Xserve (Early 2009)
    Are my applications compatible?
    See App Compatibility Table - RoaringApps - App compatibility and feature support for OS X & iOS.
    Am I eligible for the free upgrade?
    See Apple - Free OS X Mountain Lion upgrade Program.
    For a complete How-To introduction from Apple see Apple - Upgrade your Mac to OS X Mountain Lion.
    Model Eligibility for Snow Leopard and Lion.
    Snow Leopard General requirements
      1. Mac computer with an Intel processor
      2. 1GB of memory
      3. 5GB of available disk space
      4. DVD drive for installation
      5. Some features require a compatible Internet service provider; fees may apply.
      6. Some features require Apple’s MobileMe service; fees and terms apply.
    Lion System Requirements
      1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
      2. 2GB of memory
      3. OS X v10.6.6 or later (v10.6.8 recommended)
      4. 7GB of available space
      5. Some features require an Apple ID; terms apply.

  • Why is the fan in my iMac running so much after Mountain Lion update?

    For some reason, I seem to notice the fan on my 4 year old iMac running constantly, even with very few processes running (only Mail and Safari) after the upgrade to Mountain Lion. Anyone else have this problem? Anyone have a solution?

    Sorry, guys (or girls), but NONE of this worked. I shut down, pulled the plug, restarted, Zapped the VRAM, restarted, several times...I mean, at least 4. There were NO major processes going on according the Activity Monitor. And with only Mail open, the fan began to run at high RPM (HD fan at 1486, CPU fan at 3896, CPU temp 41, CPU heatsink temp 41, GPU Diode temp 95, GPU Heatsink temp 90) almost immediately...and it has yet to go off. I suspect it won't do so until I leave it alone and it "sleeps" for a while. I have read that other people have this problem too, and it clearly is related to something in Mountain Lion, since that was the triggering event. I believe Apple must be advised that this is a software glitch, and they should work on getting a patch out to us.
    Any more advice? I'd love to hear it.

  • How to run PowerPC application under Mountain Lion?

    I ahve just upgraded my ancient laptop running Leopard to a newer model running Mountain Lion.
    I use a legacy application (Filemaker v5.5) for work that cannot be upgraded in the near future for my work.
    This is a PowerPC application that is  no longer supported. Is there an emulator or utility that will allow me to run this (and other) PowerPC applications?
    Is there a version of Rosetta or something similar I can get?
    The alternative is to create a Windows partition (shudder) and run it there.

    No Mac will run an OS or OS point version earlier than what it originally shipped with. You can see which iMacs shipped with Snow, from this link. That said, it's not entirely clear that even the mid-2011, if it shipped with Lion, will still be able to run Snow.
    http://support.apple.com/kb/HT1159
    baltwo said he got it running on a mid-2011 refurb, but on a separate partition from a clone.

  • Mac Book Pro i7 late 2011 Running Slow after installing Mountain Lion

    Hi All,
    Is anyone else experiencing the same issues, since I have updated to Mountain Lion last week my mac is now running alot slower than before on startup, closing down and when opening and shutting programs / apps.
    Would it pay me to upgrade to 8GB ram?
    Thanks
    Lee
    Mac Book Pro i7, 2.4 ghz, late 2011, 4gb.

    Hi All,
    Is anyone else experiencing the same issues, since I have updated to Mountain Lion last week my mac is now running alot slower than before on startup, closing down and when opening and shutting programs / apps.
    Would it pay me to upgrade to 8GB ram?
    Thanks
    Lee
    Mac Book Pro i7, 2.4 ghz, late 2011, 4gb.

  • Mac Book Pro Running Slow since installing Mountain Lion

    Since I downloaded Mountain lion this summer my MAc Bok has been running slow and running hot.  I am not sure what to do.  I checked my hard drive is only 4GB and I may need to upgrade it.  But waht else can I do?
    Saran

    You need at least 20 GBs of free space on your hard drive and at least 4 GBs of RAM.
    Things You Can Do To Keep Your Computer From Slowing Down
    If your computer seems to be running slower here are some things you can do:
    Boot into Safe Mode then repair your hard drive and permissions:
    Repair the Hard Drive and Permissions Pre-Lion
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Repair the Hard Drive - Lion
    Boot from your Lion Recovery HD. When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Restart your computer normally and see if this has helped any. Next do some maintenance:
    Suggestions for OS X Maintenance
    For situations Disk Utility cannot handle the best third-party utility is Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or Lion and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems. For more about malware see Macintosh Virus Guide.
    I would also recommend downloading a utility such as TinkerTool System, OnyX 2.4.3, or Cocktail 5.1.1 that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. There is no confirmation that this version also works with Lion.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
      1. Carbon Copy Cloner
      2. Data Backup
      3. Deja Vu
      4. SuperDuper!
      5. SyncTwoFolders
      6. Synk Pro
      7. Synk Standard
      8. Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.
    Additional Hints
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Add more RAM. If your computer has less than 2 GBs of RAM and you are using OS X Leopard or later, then you can do with more RAM. Snow Leopard and Lion work much better with 4 GBs of RAM than their system minimums. The more concurrent applications you tend to use the more RAM you should have.
    Always maintain at least 15 GBs or 10% of your hard drive's capacity as free space, whichever is greater. OS X is frequently accessing your hard drive, so providing adequate free space will keep things from slowing down.
    Check for applications that may be hogging the CPU:
    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time, then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Often this problem occurs because of a corrupted cache or preferences file or an attempt to write to a corrupted log file.

  • Always running the fan with Mountain Lion

    Anyone notice that your MacBook is running the fan far too often under Mountain Lion? Apple needs to fix this. Or is there a fix?

    Have you tried resetting the System Management Controller? That is a good first step for power related issues such as this.
    Best of luck.

  • Is anyone else having problems running Flash Player on Mountain Lion?

    After installing Flash Player on my MacBook Pro running Mountain Lion, my computer started crashing when I put it to sleep.  When I uninstalled Flash, I no longer had the problem.  Is anyone else having problems like this with Flash Player?  Is this an issue with Mountain Lion or Adobe?  Is there a fix for it, or am I just out of luck with the prospect of running Flash Player on my new Mac?

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login. Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    *Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, you can’t boot in safe mode.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem(s)?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • HT4848 Two days ago I upgraded my MAC PRO from Lion to Mountain Lion via my account at the Apple App store.  My machine runs so slow with Mountain Lion especially mail that it is completely useless.  It take about ten minutes per mouse click to register. 

    I also run Parralles 7.  I re-installed this a few times with no affect.  I have it not running and my Mountain Lion is still too slow to use.  Again a single mouse or keystroke takes up to ten minues to register. 
    Suggestions ?

    Startup in Safe mode (holding Shift key down) http://support.apple.com/kb/HT1455
    Then you can update or uninstall your problematic third-party software.

  • Safari runs slow after installing mountain lion

    Safari is running very slowly since I installed Mountain Lion.  Any suggestions about why this is happening or how to improve the speed?

    I ordered something from a website I haven't used before, and it was very slow, but I don't know if it's that website or safari.  Safari is the only browser I use.

Maybe you are looking for