Local Web Server No Longer Working In ML

Hello,
Previous to updating to Mountain Lion, I had my Imac set as a local web server and everything worked fine. After updating to ML, I no longer have local web server access. Also seems that my /etc/apache2/users/USERNAME.conf is gone? Do I need to reset all the files I configured prior to installing ML?
Thanks JR

I created a new ect/apache2/users/currentuser.conf with
<Directory "/Users/username/Sites/">
      Options Indexes MultiViews
      AllowOverride All
      Order allow,deny
      Allow from all
</Directory>
But now when I try to view a current site on the Mac, it just lists out the php code and not the page?
Thanks JR

Similar Messages

  • Accesso to Apache Local Web Server Problem

    Hi, i have a problem related to the set up of Apache Local Web Server on Mac OS X Lion 10.7.5.
    I have correctly installed Apache (2.2.24) php (5.3.26) and MySql (5.5.22) but during the web access i get this message: 403 Forbidden and in the error_log i see this:
    [Tue Nov 05 18:55:19 2013] [error] [client 10.202.145.171] client denied by server configuration: /Users/marcopuccetti/Sites/drupal-7.12
    Before this i have modified the configuration of httpd.conf (DocumentRoot) file in order to point the Sites folder "Users/username/sites"; The same for users configuration file.
    I have also enabled the Web Sharing properties in the System Preferences Section.
    Have i to do any other settings?
    Thank you!
    Marco

    Now it works, but i still don't understand why The directory "Sites" has to be named Only UpperCase.
    Marco

  • Apache2 local web server + Perl 5 + mysql problem

    this problem has been bugging me for some months; it's stopping me developing on my new MBP.
    I cannot connect to mysql 5.0.45 database when web sharing w/ Apache2 with either Perl 5.8 & Activeperl 5.10 cgi scripts on Mac OS X Leopard 10.5.2 & 10.5.3
    Although I can connect to the mysql DB when running the Perl scripts from the command line.
    The problem only occurs on my local web server in Mac OS X 10.5.2 & 10.5.3.
    On my old development Mac running 10.3 the code runs fine, as it also does on my remote site.
    server error log: Can't locate DBD/mysql.pm . . .
    I suspect there is a problem somewhere between Apache2, Perl & MySQL.
    Please advise.
    Sarpedon Jones
    Message was edited by: Sarpedon Jones

    I've got the same problem but It sounds like I've gotten farther. I was forced to do an emergency move of some Perl and PHP sites to 10.5.4 when our 10.4 web server refused to authenticate to AD anymore...
    Leopard's Apache/Perl support is terrible. There is not click to add option anymore so you have to manually set up mod_perl. No big deal but the first sign that there isn't reasonable support.
    The bigger issue is that Apple's Perl will not compile some modules.. namely DBD::mysql.
    Normally you'd use "cpan" to install the modules you need. The core module for connecting to a mysql database is DBD.. specifically DBD::mysql
    You should be able to run "cpan" or "cpanp" [cpan plus] to get a cpan interactive prompt. At this point you should be able to compile DBD by issuing either of the following:
    "install DBD::mysql" or
    "install Module DBD::mysql"
    I've tried this on two installs of OS X Server and that module (and others) will not compile on either system. One of my servers had been set up as a Wiki server before but the other had not been running any web services before I started using it as a test bed for my site move. (BTW these sites are unavailable until I can move them).
    There is another bug (noted on mysql's site) with Apple's version of cpan. If you try to add some modules, cpan will report that it needs to install a new, full version of Perl. The recommendation is to not do this, but rather force the install.. "install f DBD::mysql"
    Forcing the install is a questionable idea but it doesn't work anyway.
    I eventually did install perl 5.0.10 on the system in /usr/ and that does allow me to compile the needed Perl mods. However, the global @INC path has the old Perl paths listed so my perl CGIs will not use the new perl install.
    I'm sorry I don't have a solution. Hopefully my troubleshooting will elicit some more feedback.
    steven.

  • HP Truevision HD web cam no longer working with Skype since windows 8.1 update

    Hi guys,
                     A major annoying problem as occured since i updated to windows 8.1 my web cam no longer works in skype, it works for everything elese youcam etc just not skpye, audio is working fine too. When i go into settings the programmes freezes and eventually crashes, I can see my webcam listed in skype but thats it, the bottom half of the pane is missing too it cuts out in the middle of clear history, rolled back the driver and it works but messes everything else up. Please help i am ripping my hair out..... thank you

    odizzle7,
    Welcome to the HP Forum.
    Skype does run on Windows 8.1, although you may need to update Skype to at least version 6.16.0.105
    If you have more issues, please do consider opening a New Post of your own.
    This Thread is from last year and is not monitored by our Experts team.
    Click the Kudos Thumbs-Up to show you appreciate the help and time from our Experts.
    Although I strive to reflect HP's best practices, I do not work for HP. 
    Click Accept as Solution when the Answer is a good Fix or Workaround!
    Kind Regards,
    Dragon-Fur

  • I recently upgraded to 10.9.1 and now my OS server no longer works. It says I need to upgrade to a later version. I am unable to see a free upgrade in the app store.

    I recently upgraded to 10.9.1 and now my OS server no longer works.It says I need to upgrade to a later version. I am unable to see a free upgrade in the app store.

    You might be better posting this under Server OSX
    https://discussions.apple.com/community/servers_enterprise_software/os_x_server

  • Java mysql OK with Terminal but not OK with Apache local web server

    With terminal I have :
    CLASSPATH=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Classes/:/Library/Java/Extensions/:./
    SUDO_GID=20
    SECURITYSESSIONID=210800
    _=/usr/bin/printenv
    127:/Library/WebServer/Documents/Java root# java TestMySQL
    2006-05-21 13:39:00.0 ************************************************** = OK
    127:/Library/WebServer/Documents/Java root#
    import java.sql.*;
    * mysql-connector-java-3.1.12-bin.jar
    *   % javac /Library/WebServer/Documents/Java/TestMySQL.java
    *   % java TestMySQL
    public class TestMySQL {
            public static void main(String argv[]) throws Exception {
                    // Load the driver class
                    Class.forName("org.gjt.mm.mysql.Driver");
    1                //Class theClass = null;
    2               //try {
    3                //    theClass = Thread.currentThread().getContextClassLoader().loadClass("org.gjt.mm.mysql.Driver");
    4                //}
    5                //catch (ClassNotFoundException e) {
    6                //    theClass = getClass().getClassLoader().loadClass("org.gjt.mm.mysql.Driver");
    7                //}
                    Connection conn = DriverManager.getConnection(
                            "jdbc:mysql:///test",
                    Statement stmt = conn.createStatement();
                    ResultSet rset = stmt.executeQuery("SELECT now();");
                    while (rset.next()) {
                            System.out.println(rset.getString(1));
                    // Close result set, statement and DB connection
                    rset.close();
                    stmt.close();
                    conn.close();
    }I have a simple TestMySQL.html file with applet TestMySQL.class in it.
    Nothing but "Applet TestMySQL not inited"
    When I uncomment the try/catch lines (lines 1 to 7) , java compiler generate an error... near getClass().getClassLoader().loadClass("org.gjt.mm.mysql.Driver");
    With "Class.forName("org.gjt.mm.mysql.Driver");" no problem.
    Running MacOS X 10.3.9, Apache/1.3.33 (Darwin) PHP/4.4.1 mod_ssl/2.8.24 OpenSSL/0.9.7i and JVM 1.4.2_09
    Thanks for help.
    P.S. This my first approach to java/mysql but I would like to see this short program running on my local web server ...
    Thanks.

    hi :-)
    can you post the stack trace?
    im not sure what is causing the error because of less info,
    but have you tried to copy the driver of mysql to tomcat lib folder?
    regards,

  • Oracle9i HTTP server no longer works now AS 9i v1.0.2.2.2a is installed

    Hi there,
    I am trying to set up an Oracle system without much success.
    I managed to install the Enterprise Oracle9i database no
    problems and the HTTP apache server was working fine using
    ports 8080 and 4444.
    I then tried to install the Oracle9i Application server v1.0.2.2.2a
    (core). The HTTP apache server for this is set for ports 80 and 443.
    This second Apache server works great but the first one no longer
    works.
    Having looked at the services running it appears that OracleOraHome90Agent
    and OracleOraHome90HTTPServer are no longer running even though they
    are set to automatic. When I try and run them I get the following errors:
    OracleOraHome90Agent : Service could not be started. Error 2140: An internal
    window NT error occurred.
    OracleOraHome90HTTPServer : Could not start the service. Error 1067 - the
    process terminated unexpectedly.
    I then went to c:\oracle\ora90\Apache\Apache in MSDOS and typed apache. I
    received the following:
    [Thu May 02 16:11:16 2002] [warn] pid file c:/oracle/ora90/apache/apache/logs\httpd.pid
    overwritten - - Unclean shutdown of previous Apache run? Apache.pm version 1.26
    required! c:/oracle/isuites/apache/perl/site/5.0053/lib/apache.pm is version 1.27.
    Perhaps you forgot to 'make install' or need to unistall an old version?
    Found c:/oracle/isuites/apache/perl/site/5.0053/lib/apache.pm
    Not quite sure what is happening as there is an apache.pm located at
    c:/oracle/ora90/apache/perl/site/5.0053/lib/apache.pm which is version 1.26 so I can't
    see why the database should be pointing to the version in the application server.
    Cheers,
    Maggie

    A Golden rule , at all times you must ONLY ONE web server on the machine , when installing Oracle Engine deselect the Apache and install it with the App. Server ( better ) ,, if you are using Windows platform you must first uninstall IIS and if Linux use the pre-installed with linux , HTTP users port 80 and ports are not sharable.
    Good Luck

  • Local web server not being recognized

    I setup a web server on my LAN specifically so both a PC and a Mac could use HTTP protocol and store and retrieve files. The servername is called UBUNTU. On any PC in the house I can type http://ubuntu/ and the directory listing appears. The Mac can not find it.
    If I use the IP address, the server is recognized. The directory listing appears. And, when I use FTP in Terminal I can even get a file upload to work as long as the file is in the same directory I started the FTP. But, this Mickey Mouse will just not work for my application. What I want to do is schedule a daily upload of newly created music from the days work. If the producers did not like this Mac, I would trash it. I am so frustrated!
    This is the first time I've used a Mac and so far I find it to be way overrated. I mean, how many computers can not access a web server out of the box? The Safari browser I am using has no trouble accessing the Internet but my "intranet" seems to baffle Safari. I would expect a problem if using SMB were a requirement. It is not - I simply want to use HTTP. How do I need to change the Mac configuration so that it works?

    Thanks for all your help.
    Oh well, the music producer using the Mac just installed Yummy and immediately did the uploads he wanted to do. Yummy also has a scheduling function so the Mac will be able to use Yummy on the producer's schedule. (I usually use FileZilla and had never heard of Yummy.)
    Meanwhile, I was trying to get SMB working from the Mac but was never successful. As I mentioned earlier, I've never had success with Samba on Linux. This time was no exception. In this particular case, the Mac would not accept the username and password. I had specifically done smbpasswd -a username and used the same password and username that I had been using for FTP activity.
    However, when I got to the Mac SMB/CIFS screen it demanded 3 things: workgroup, NAME and password. BUT, the name of the Mac box automatically appeared in the NAME field on that screen. If I tried changing that to the username, there was no success at all. So, I went to the Samba box and added the name of the Mac box as a username.
    It was at that point that the producer told me he installed Yummy and was successful in uploading the music. I doubt he will let me have any more time on the Mac box for testing. I guess it is just as well since I had previously told him FTP was the way to go and SMB/CIFS was not something he had ever heard.
    Thanks for all your help.
    Contrary to your opinion, I guess I feel that the most important things that happened in this exercise were, "the sounds about how it should be so easy but just wasn't working". I just hope folks from Apple, Microsoft and the Linux world stumble across these comments occasionally.
    The bottom line is that the end user did not care how the job got done. The end user did not care what operating system nor what software technology was used. He just wanted the job done immediately. And, he had recalled a past experience where the Mac could not handle the job without a third-party FTP application.
    Here's the future challenge for 3 programmers and 9 computers. Setup 3 rooms each with a PC, Linux, and a Mac box. Put a knowledgeable programmer from each of those separate worlds in each separate room. It's OK to have an Internet connection so they can get documentation. The task is to get scheduled uploads operational between all the boxes in each room without using 3rd-party software. I think a reasonable time would be far less than 10 minutes including verification tests between steps. Some folks might take most of that time just to read http://www.mattvanstone.com/2007/11/automatically-mounting-windows-smb-shares-in -ubuntu-v3/
    so, perhaps the programmers' time is better spent on an FTP approach which might be more common setup and terminology among those three box types.
    The winner gets his name on the resulting paper and website he creates to document how he made it so easy. The losers must come to his website each day for a year just to see his advertising.

  • Access websites hosted on local web server

    Hi there,
    I have a Cisco ASA 5505 in my home office which has a few PCs behind it with a linux web server running some websites. I can access the websites from outside no problem (i.e. on my iPhone using a 3G connection). However, I struggle to access the websites from within the network. The ASA gives me this error:
    6
    May 05 2013
    11:52:27
    192.168.55.61
    50420
    Failed to locate egress interface for TCP from inside:192.168.55.61/50420 to 86.*.*.*/80
    ASA runs version 9. Here is the config bit:
    object network denon-server
    host 192.168.55.200
    access-list outside_access_in extended permit tcp any object denon-server eq www
    object network denon-server
    nat (any,outside) static interface service tcp www www
    Any suggestions?

    Hi,
    I assume that you are trying to reach the LAN server with the public IP address that the ASA holds and also uses for the above Port Forward / Static PAT configuration?
    If this is the situation then I am afraid that with the current configuration that is not possible. The NAT configuration towards Internet is done between probably "inside" and "outside". So "outside" interface holds the public IP address. ASA doesnt let you connect to that "outside" IP address from behind the "inside" IP address. (Or any other interface for that matter)
    What you could try to do is configure a NAT that would enable you to use the public IP address of the server even when connecting from the "inside" of ASA.
    Try this
    object network SERVER-LOCAL
    host 192.168.55.200
    object network SERVER-PUBLIC
    host 86.x.x.x
    object network LAN
    subnet 192.168.55.0 255.255.255.0
    nat (inside,inside) source dynamic LAN interface destination static SERVER-PUBLIC SERVER-LOCAL
    Where
    SERVER-LOCAL = Is the "object" that defines the real IP address of the server
    SERVER-PUBLIC = Is the "object" that defines the public IP address of the server (that ASA holds on its "outside")
    LAN = Is the "object" that defines the subnet from where LAN users connect to the server public IP address
    Check that the network mask is correct for the LAN and fill in the public IP address.
    The actual NAT configuration tells the ASA this
    When a connection from LAN is coming towards SERVER-PUBLIC then UN-NAT SERVER-PUBLIC to SERVER-LOCAL and NAT LAN to "inside" interface IP address (as defined by the parameter "interface" in the configuration)
    This should enable the LAN hosts to use the public IP address to connect to the server. The server though will see the connections coming from the ASA "inside" interface IP address.
    Hope this helps
    Please remember to mark a correct reply as the correct answer if it did answer. And/or rate helpfull answers
    Ask more if needed.
    - Jouni

  • Web Server Aliases not working!!

    I have set up a virtual domain "internal.blahblah.com" within that I have setup Web Server Aliases. However, I cannot get them to resolve for the life of me! I tried somthing as simple as * . No go when I enter "server.internal.blahblah.com". Anyone else having these problems? Any solution?

    It's not clear from your post what you're trying to do, or what you've done so far.
    Let me see if I can decode...
    I have set up a virtual domain "internal.blahblah.com"
    OK, so this is a 'Site' in Server Admin -> Web, right?
    However, I cannot get them to resolve for the life of me
    Define 'resolve', please. Do you mean 'resolve' as in DNS name resolution, or 'resolve' as in access the web site, even when DNS is properly configured?
    I tried somthing as simple as *
    Umm.. where have you entered *?
    In DNS? In your web server?
    If in the web server config, are you using 'Alias' (a URL remap) or 'ServerAlias' (a secondary name for the server)?
    No go when I enter "server.internal.blahblah.com".
    'server.internal.blahblah.com' is in no way related to 'internal.blahblah.com'. In order for this to work you need to have a DNS entry for 'server.internal.blahblah.com' that points to your server - hence the question regarding DNS above.

  • Testing server no longer working

    Hi All,
    I recently upgraded the hard drive in my macbook pro and used time machine to copy all data to the new drive. Now my testing server (MAMP) is no longer working. When I point my browser to /localhost/ the index page comes up but none of the dynamic pages work. Dreamweaver is no longer connecting to the SQL database, even when trying to create a new connection (it only looks to 127.0.0.1). I also deleted and recreated the testing server in the Dreaweaver preferences and uninstalled/ reinstalled MAMP.
    Any pointers will be greatly appreciated!

    Hi All,
    I recently upgraded the hard drive in my macbook pro and used time machine to copy all data to the new drive. Now my testing server (MAMP) is no longer working. When I point my browser to /localhost/ the index page comes up but none of the dynamic pages work. Dreamweaver is no longer connecting to the SQL database, even when trying to create a new connection (it only looks to 127.0.0.1). I also deleted and recreated the testing server in the Dreaweaver preferences and uninstalled/ reinstalled MAMP.
    Any pointers will be greatly appreciated!

  • Ftp to a local ftp server doesn't work for VIREX 7.7

    Has anyone else experienced this and know of a work-around? I have mac 10.3.9 machines not connected to the internet and running Virex 7.7. I have them setup to access signature files I download to a local ftp server on our subnet. This works fine.
    We've installed a couple of Tiger (10.4.4) machines and this setup for Virex does not work. It acts like it can't see the ftp server. When I use Terminal I can ftp to the ftp server and transfer files that way. Why doesn't Virex 7.7 successfully download signature files from the ftp server?
    Any suggestions?

    I have been having the same problem. Our McAfee rep sent me a patch that apparently fixes the problem. Since McAfee issues DATs on Wednesdays, I ran the the e-update yesterday morning. It all seemed to run too quickly, but I checked the dates of the vscan files and they were correct. The files are:
    names.dat
    clean.dat
    scan.dat
    They located in /usr/local/vscanx/ (hidden files - you can download "Wizzard" to show/hide files).
    I believe you can download the patch at:
    ftp://custftp2.nai.com/outgoing/tier3/VRX/HF255495.sit
    ftp://custftp2.nai.com/outgoing/tier3/VRX/HF255495.tar
    ftp://custftp2.nai.com/outgoing/tier3/VRX/HF255495.zip
    iMac   Mac OS X (10.4.5)  
    iMac   Mac OS X (10.4.5)  

  • Newbie, How Do you transfer a site from Remote Host to Local Web Server

    already exists to my local IIS server. I cannot figure it
    out. I keep going in circles with Manage Sites, creating the folder
    in the Inetpub/wwwroot folder and I need some help to get the whole
    site locally so I can work on it. I use to use Frontpage but my
    developers cannot stand the extra code it puts in and it's not
    google friendly. So I decided to use Dreamweaver to create and
    manage my sites.
    Thanks for all the help in advance.

    In the file panel, view the remote site and select the top
    level folder. Then right click and select get.

  • Web sharing no longer working.

    I have seen loads of posts on this issue - even though I have web sharing selected in system preferences, I am unable to get it to work. I am a novice and I know I have to do something in Terminal, but I'm not sure what.
    Can someone please provide a step by step solution for this problem.
    Thanks you.
    mi

    Ok, I couldn't let the dog die so I spent a day to make the sob work. Here is what I found. (replace all incidents of * with your short user name)
    1) Leopard websharing is broke and no one a Apple is working it.
    2) Cut and paste this command to Terminal (sorry, I do not know any way but Terminal on this):
    sudo mkdir /private/var/log/apache2
    3) Authenticate and press return
    4) Change finder so you can see invisible files (use an app like Cocktail, Onyx or YASU)
    5) Open the /private/etc/apache2/users/ folder in your root directory (invisible item, see step 4 above)
    6) Open Textedit and paste the following into a new document:
    # Allow access to *'s Sites directory for web clients.
    <Directory "/Users/*/Sites/">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    7) Replace * with your short user name (i.e. /Users/sandman/Sites/)
    8) Change the document to plain text
    9) SaveAs to your desk top as *.conf (i.e. sandman.conf)
    10) Move the .conf document to the user folder opened in step 5 and authenticate
    Sorry but all these steps were required for my fix. I also fixed permissions with Disk Utility.
    You may have to move away from your web server's router to another server to view your web site or Safari could refuse connection.
    I hope I don't forget all of this crud after the next update.

  • WRT160NL built in DHCP server and WEB server stop to work

    Hello all!
    My home network based on the WRT160NL with one wireline PC, two wireless PCs and wireless printer works with no problems - connections are at full speed, no drop outs, wireless and wireline QOS is perfect. But then quite regularly every two or three days suddenly the router internal DHCP servers stops to work - I see with the wireshark that my wireline PC sends the DHCP requests to the router but router does not reply to them. If at the same moment the other PC's are allready in use and got theirs IP before they can surf the internet uninterrupted. Only router reboot helps to solve this situation. After the reboot DHCP server immediately acknowledges DHCP request from the PC and assigns him his IP number.
    Sometime this situation occurs when IP address is already assigned, I can surf the internet, routing works, I can ping the router but I can not access the router's built in web server. Neither via  IE, neither via FF.
    I do not use P2P programs, IP traffic over the router is very light - no internal traffic between PCs, no file transfers to the USB flash key and WAN internet connection is 1Mbs. I have upgraded to the latest firmware Ver.1.00.01.17. Nevertheless problem occurs quite regularly about every three days.
    I try to reproduce the problem more frequently and there is the way how to do that - I start to watch IP TV on my wireline PC (usually I watch my IP TV via the STB connected directly to the DSL modem) so IP TV multicast now goes through the router. It is about 5 - 6 Mbs and about 500 pps of IP traffic. This IP TV stream very often causes internal web server and DHCP server to stop. So although I can watch IP TV and surf the web on my PC with no problems, if other PC's are powered up during this situation they will not get theirs IP addresses.
    I see in other posts on this forum that similar behavior can be triggered also with the heavy read/write traffic to the attached USB flash key.
    So my conclusion would be:
    - are the problems above known to Linksys/Cisco, do they acknowledge them, do they work on them
    - when we can expect new firmware release - can we expect new release for this model at all
    Best regards
    Message Edited by srus on 02-12-2010 04:05 AM
    Message Edited by srus on 02-12-2010 04:14 AM

    Ridcully thank you for your post, I did not execute the procedure you suggested. Prior to execute it I want to get more background on it? Why do you think that reconfiguring from the factory defaults would solve my problem? Are you 100% sure that this is the solution or are you just guessing?
    Router offers backup and restore functionality where you can store current configuration into file on PC and latter restore it. Can I use this functionality in your procedure or should I reconfigure all router settings manually?

Maybe you are looking for

  • How can I uninstall Yosemite on a USB drive?

    I have a 2009 Macbook running Snow Leopard 10.6.8. I have found that various websites, especially ones with Flash, keep telling me my software is out of date and I have trouble playing videos. So I thought I should maybe upgrade to Yosemite, but I wa

  • JText Field with XML Document as a model

    Hi All, I have a swing application, which contains a number of JTextFields inside a form. These textfield represent certain elements of a XML document. The size and other constraints of these elements are specified in a schema. At the bottom, there i

  • How to add new criteria in simple search region ?

    Hi, I have been trying to add a new criteria for simple search in a seeded oaf page and facing some issue. I have successfully created the criteria field but unable to filter the search using the new criteria item. Kindly help so that i can proceed.

  • Primary and DG in different version

    Hi i want to try to use 10g primary with 11g stanby. In doc i read : The following conditions must be met before you can use the broker: ■ The primary and standby databases must be using the same version of Oracle Database 11g and each can be install

  • Tx2z randomly freezing

    i have owned this laptop for 5days and it freezes 5 odd times a day (sometimes using and other times go to use and is frozen) and flashes caps/num 2 times which hp say bios error i have updated to the latest f.14 and still the same any ideas 2.4ghz 8