How to Fix Forbidden 403 on Default Site?

I'm trying to get started with the Webserver on our new Mini Mac Server running Mountain Lion 10.8.2. After starting the webserver I tried adding a virtual host for phpmyadmin by moving the pma folder under /Library/Server/Web/Data/Sites and then creating a new site in the Server App and choosing that folder for the site. I set 'phpmyadmin' for domain name, the server's internal IP for IP address and random port (8700) for port number, hoping that I could access phpmyadmin at x.x.x.x:8700.
That didn't work, I got 403 Forbidden. Then, trying to access the server's default site, I got 403 Forbidden too. I hadn't touched the default site's settings or anything. So I removed the phpmyadmin from Sites. Still 403 on Default site. Shut down and restarted the webserver, same thing.
Finally I used sudo serveradmin command web:command=restoreFactorySettings to restore factory settings and restarted the webserver but to no avail.
So any ideas of how to get the Default site working again and how to create a new virtual host that I can access locally with IP:portnumber?

Under the sites list in Server for the Web service, you can double click the default site and you will see "Who can access". Have you verified this setting is "Everyone" or a group that you are a part of?
Also, have you verified the permissions in Finder/Terminal for /Library/Server/Web/Data/Sites? What are the permissions on the folders?

Similar Messages

  • What is a (xml parsing error:not well-formed) and how to fix this

    what is a (xml parsing error:not well-formed) and how to fix this
    == URL of affected sites ==
    http://sudburyfinecars.subarudealer.ca
    == Troubleshooting information ==
    XML Parsing Error: not well-formed
    Location: http://sudburyfinecars.subarudealer.ca/WebPage.aspx?WebSiteID=205
    Line Number 258, Column 152:

    I found the solution to my own problem by using Internet Explorer instead of Firefox, it turn out that the site i was trying to get into is an old site using proxy servers that Firefox doesn't read properly giving me the XML parsing error:not well-formed.
    Its not Firefox's fault its just letting you know that this could be a problem site if it lets you in.

  • Firefox Browser freezes when websites have google analytics, anyone else experienced this problem? Know how to fix?

    Firefox Browser freezes when websites have google analytics, anyone else experienced this problem? Know how to fix?
    == URL of affected sites ==
    http://www.smarteoffers.com

    Hello Steven.
    There have been similar reports, yes. You may be having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not coming from one of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] and select ''Disable all add-ons''. If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and theme. You can troubleshoot plugins the same way.
    If you want support for one of your add-ons, you'll need to contact its author.

  • Please help!!! I get this message: Forbidden (403) CSRF verification failed Request aborted when I try t0 connect an app to facebook. I did not have this problem before I downloaded Firefox 4. How do I get rid of this and fix it???

    How do I get rid of this message: Forbidden (403) CSRF verification failed. Request aborted?? I get this message when I try to connect an app to facebook. I did not have this problem before I downloaded Firefox 4. Do I need to remove your browser so my computer can work with the internet again?
    HOW DO I FIX THIS???? I AM VERY FRUSTRATED WITH THIS PROBLEM!!!!

    Click here and follow the instructions to change the iTunes Store country.
    (97125)

  • How to fix 403 in Mac OS X built-in Apache?

    I'm trying to set a local environment on my new MacBook Air 13": built-in Apache with my own DocumentRoot, PHP, and MySQL. I usually update /etc/hosts just to run my local websites with a pretty permalink: local/example. For references, I usually check:
    How to turn Mac OS X Lion into a web server?
    Enabling Apache in Mac OS X Mountaion Lion
    Apache permissions
    This time I'm simply getting a 403 Forbidden error every time I hit 127.0.0.1, localhost, or local. First I saw through the terminal that both Apache and PHP are running (even though I can't view PHP pages); then I updated all permissions according to Apache permissions; now I'm just desperate. Here are the relevant Apache configs:
    /etc/hosts (view file — added one line)
    /etc/apache2/httpd.conf (view file — updated the DocumentRoot)
    /etc/apache2/users/joao.conf (view file — created this file)
    /etc/apache2/extra/httpd-vhosts.conf (view file — updated VirtualHost)
    It looks like Apache is somehow denying me access to my DocumentRoot (which by the way is ~/Sites). Because ~/Sites is actually a symlink, I then tried to update DocumentRoot with the following paths (all pointing to the same directory):
    ~/Sites
    /Users/joao/Sites
    /Users/joao/Dropbox/Workflow/Sites (the original directory)
    Still throwing 403. Any ideas how to fix/debug this?

    Quick update: here's what my /var/log/apache2/joao.pt-error_log looks like,
    [Sun Jul 07 12:50:45 2013] [error] [client 127.0.0.1] (13)Permission denied: access to / denied
    [Sun Jul 07 12:50:45 2013] [error] [client 127.0.0.1] (13)Permission denied: access to /favicon.ico denied
    [Sun Jul 07 12:50:45 2013] [error] [client 127.0.0.1] (13)Permission denied: access to /favicon.ico denied
    [Sun Jul 07 12:50:45 2013] [error] [client 127.0.0.1] (13)Permission denied: access to /favicon.ico denied
    [Sun Jul 07 12:50:47 2013] [error] [client ::1] (13)Permission denied: access to / denied
    [Sun Jul 07 12:50:47 2013] [error] [client ::1] (13)Permission denied: access to / denied
    [Sun Jul 07 12:50:48 2013] [error] [client ::1] (13)Permission denied: access to /favicon.ico denied
    [Sun Jul 07 12:50:48 2013] [error] [client ::1] (13)Permission denied: access to /favicon.ico denied

  • Why do i get a forbidden 403 error message on a site i have had no trouble with before?

    I go to a particular music site sometimes via a bookmark in firefox. all of a sudden I am getting message saying forbidden 403 and that I cant access it anymore from this server. what is going on? is there a solution? what may have caused it?

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Safari 8 Isn't playing HTML5 by Default - How To Fix?

    An issue I'm having with the new Safari since upgrading to Yosemite.  My browser is no longer playing HTML5 content by default.  I have the "Click-to-Flash" extension enabled and I have HTML5 selected as my default.  YouTube, however, will only play Flash.  I can't seem to get it to play HTML5.  Anyone know how to fix this?

    I have the same issue but kinda think it's partly my fault. I have Click-to-Flash set up like yours. This morning I was attempting to download a clip but my finger slipped and I hit "Always Hide" instead of "Download Video". Poof, the pane with the movie went away and  then I could no longer even access the Click-to-Flash right click shortcut menu!!! At first I didn't attribute this to Click-to-Flash and removed and reinstalled Adobe Flash. I went back over Click-to-Flash and it is set
    how it was except under Preferences : Control Lists : Allow Flash On the Sites it lists www.youtube.com. I don't know if it did before. I went to the YouTube site and selected HTML5 vids but I want to go back to having it done natively by Safari so that I can download clips. Can anyone please please help me? Thank you.

  • Every morning when I awaken my MacBook Pro, I come to find that my Safari browser has been closed. How to fix this? I don't want to lose anything I have possibly typed in a site that I have left to finish working on for later.

    Every morning when I "awaken" my MacBook Pro, I come to find that my Safari browser has been closed on it's own. How to fix this? I don't want to lose anything I have possibly typed in a site that I have left to finish working on for later. I checked system preferences and everything seems to be checked appropriately as well as for Safari's preferences.
    I am not sure what's going on, because Safari only just recently started doing this and I haven't downloaded anything, nothing out of my regular computer routine. As well, I upgraded to Mavericks when it came out and I have the last version of it too. I can't imagine that Safari would close simply because I don't have or want to upgrade to Yosemite. I am holding off on the upgrade for a bit, because I heard Final Cut Pro 7 can't be run on Yosemite. While I could partition my drive, I really don't want to. Mavericks is fine for right now :   )
    Okay sooooo...back to Safari...what the! Please help and thanks for any replies ahead of time!
    I Hope All Is Well In Your World :   )
    Nyna

    There's an Apple help page on the DNS problem - at http://support.apple.com/kb/TS3408
    The first thing to try is changing your DNS settings - and for that you need to open System Preferences, then the
    Network section.
    In Network - click  on Advanced - then the DNS tab
    under DNS servers - use the + button to enter two extra lines
    either these, from google dns
    8.8.8.8
    8.8.4.4
    or from OpenDNS
    208.67.222.222
    208.67.220.220
    then click OK & then 'Apply'
    You would need to do that seperately for the Cable (Ethernet) settings and Wireless (Airport)

  • How do I set the default site in iWeb '09

    I have several sites built in iWeb, like most people do. However I want one specific site to be the default. How do I tell iWeb which folder to pick?
    In addition to this question, I have iWeb on another computer that I would like to upload a site I've been working on too. However, I don't want the second computer to override the first.
    It would be easier to show you...
    my site is located here
    - http://web.me.com/wlamagdeleine/
    I want my default page to be located at...
    - http://web.me.com/wlamagdeleine/Wayne
    But I built a different page on a second Mac and I want to upload it as well, but not make it the default...
    - http://web.me.com/wlamagdeleine/iwayne
    How do I tell iWeb all of this?

    If you have more than one domain file in different folders and want to open one of them in particular when you open the application, put a copy of its domain file into Home Folder/Library/Application Support/iWeb
    When you enter the URL...
    http://web.me.com/username/
    ... the site whose index.html file exists in Finder/Go/iDisk/My iDisk/Web/Sites opens.
    When you upload the site - iwayne - its index.html file will replace the default. You need to keep a copy of the index file for the default site and upload it to Finder/Go/iDisk/My iDisk/Web/Sites by drag and drop after you publish changes to the site - iwayne.
    To see the iwayne site in the browser you will enter the URL....
    http://web.me.com/username/iwayne/PageName.html
    ... where iwayne is the name of the site in iWeb and PageName is the name of the Home page.

  • I've installed Flip4Mac WMV in Lion and when I try to listen to audio in some sites, it starts playing and after about 0.5 seconds it starts playing again. So, I have the same thing playing with a delay... What is happening and how to fix it?

    I've installed Flip4Mac WMV in Lion and when I try to listen to audio in some sites, it starts playing and after about 0.5 seconds it starts playing again. So, I have the same thing playing with a delay... What is happening and how to fix it? Is there any other way to play theese kinds of files without using Flip4Mac WMV?

    Use Flash Media Server to stream the files.......set up a timer and have all three of them play at once....and have a button switch the streams depending upon which stream you want to play.....and wallah......
    you can also capture the stream.time from the video playing and resume from that point on the other videos as well....havent done this theoretically so I dont know how smooth the transistion between streams will be....but it can be done....
    plus u may have to use double buffering techniques to make sure it starts up right away......
    thelegendaryghost

  • Having an odd issue. Frequently, when I go to Safari, I see a popup that goes away in a few seconds. Looks almost like an app download, but disappears in a hurry and then goes to site I was last visiting. I'm stumped how to fix (popups disabled, etc)

    Having an odd issue. Frequently, when I go to Safari, I see a (what appears to be) popup that goes away in a few seconds. Looks almost like an app download, but disappears in a hurry and then goes to site I was last visiting. I'm stumped how to fix (popups disabled, etc.)... Goes away so quick I'm not even sure what it's about...

    Thanks for the update! Next, and this is like a last step for me, but I would quit Safari one more time, then clear all the Safari data from the phone with this info and then test it out again:
    Safari web settings on your iPhone, iPad, or iPod touch
    Clear information from your device
    To clear your history and cookies from Safari in iOS 8, tap Settings > Safari > Clear History and Website Data. In iOS 7 or earlier, tap Clear History and tap Clear Cookies and Data.
    To clear other stored information from Safari, tap Settings > Safari > Advanced > Website Data > Remove All Website Data.

  • After i changed the setting in application tab in options : open pdf doc by adobe by default, the "Ask" window still pop up every time. How to fix this ?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [[/questions/913026]]</blockquote>
    after i changed the setting in application tab in options : open pdf doc by adobe by default, the "Ask" window still pop up every time. How to fix this ?

    How do I fix this problem ...javascript (cid) applications.

  • Does anypne know how to fix the missing MSCVR80.dll file? Ive reinstalled itunes several timessysystem restores. Ive tried everything I can think of . Been sitting here all day and nightHELP!!!!!!!!!!!!!!!!!!!

    Does anypne know how to fix the missing MSCVR80.dll file? Ive reinstalled itunes several timessysystem restores. Ive tried everything I can think of . Been sitting here all day and nightHELP!!!!!!!!!!!!!!!!!!!

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • A recent download made yahoo as my default site when opening a new tab. how do I change this?

    A recent software update/download has changed my default site (on new tab only) to http://search.yahoo.com/?fr=freeze&type=W3i_NA,132,3_6,Tab%20Search,20111042,6894,0,22,0
    I cannot remember how to change the setting as I do not want Yahoo as my default (anything). Can someone please advise on how to reset the 'new tab' from yahoo to mozilla?

    Look at this extension to set which page to open in a new tab ("A blank page", "The home page", "The current page" or a user defined URL):
    https://addons.mozilla.org/firefox/addon/newtaburl/
    thank you
    Please mark "Solved" the answer that really solve the problem, to help others with a similar problem.

  • I have a problem after update my iphone4 from ios5.0 to ios5.0.1, my wallpaper default folder beacome black all icons, i still don't know how to fix this issue, also a lot of friends had the same problem.

    after update my iphone4 from ios5.0 to untethered ios5.0.1 i have the next problem, my home-screen wallpaper default folder become to black icons and if a set any it aply but in black, a lot of friends had the same issue without a fix.
    can someone tell us how to fix this issue?
    thanks.
    josemahn

    I have taken it back to the Apple store genius bar, but they say they don't see anything wrong. Well unless you use it all day and experience the problems when they happen, you wont see anything wrong. But there are lots wrong with it. But this would be the same store as I purchased the phone. And they backed up my old Iphone 4, but were not able to get anything to load back onto my new phone. So, I lost pretty much everything. But over time, some of my contacts have started showing up, although i am still missing over 800 of them.

Maybe you are looking for

  • Upgrading to Office home and student 2010

    I purchased Office home and student 2007 a few months ago....It was my understanding that I would be able to upgrade it to 2010 free when it became available.  How do I get the free upgrade? Solved! Go to Solution.

  • Outlook Word editor warnings after installing Acrobat 9 Professional

    I recently upgraded from Acrobat 8 Professional to Acrobat 9 Professional. I have Windows XP Pro SP2 and Office 2003. My email writing settings are set to use Word 2003 as my email editor. When trying to generate an email (new, reply, forward), I get

  • CREATE MULTIPLE TABLES USING BATCH FILE OR ANYOTHER MODE

    Dear Legends, I want to create Multiple table at a single stroke in oracle sql developer or sql*plus using any mode like batch file or sql files... I dont know the exact mode and how to create it please guide me..I want to learn more about this since

  • Best accessories for uMBP -- Cleaning and Protecting

    Hey guys, Just wondering what you guys use to clean your uMBP -- I've been using iKlear with the cloth they give us and I have no problem with that. Is there anything else that you guys use to clean the keys and casing? I only use the iKlear to clean

  • MM Brazil localization - Mat. origin field used for CFOP at client level

    Hello All, I'm currenctly participating in the implementation of Brazil. I'm taking care of purchase module. In the PO, you can find fields necessary to the correct determination of CFOP code. among this fields, you have "Origin". This field indicate