[SOLVED] Can't figure out why 403 forbidden on local machine

OK so this is bound to be something very simple, but I have come to the stage whereby I cannot see the forest for the trees as they say.
I have just installed a fresh LAMP setup on my local machine for development.
- Browsing to localhost/test.php and localhost/index.php output the correct php documents.
- Browsing to just localhost gives 403.
Details are as follows:
http:x:503:502:http:/srv/http:/bin/false
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "/srv/http">
Options FollowSymLinks Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<VirtualHost *:80>
DocumentRoot "/srv/http"
ServerAdmin root@localhost
ServerAlias localhost
ErrorLog "/var/log/httpd/127.0.0.1-error_log"
CustomLog "/var/log/httpd/127.0.0.1-access_log" common
<Directory /srv/http/>
DirectoryIndex index.htm index.html
AddHandler cgi-script .cgi .pl
Options ExecCGI FollowSymLinks MultiViews +Includes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName sure2dev.co.uk
ServerAlias www.sure2dev.co.uk
DocumentRoot "/srv/http/sure2dev.co.uk/public_html"
ServerAdmin development@******
ErrorLog "/var/log/httpd/sure2dev-error_log"
CustomLog "/var/log/httpd/sure2dev-access_log" common
ScriptAlias /cgi-bin/ /srv/http/sure2dev.co.uk/public_html/cgi-bin/
<Directory /srv/http/sure2dev.co.uk/public_html/>
DirectoryIndex index.htm index.html index.php
AddHandler cgi-script .cgi .pl
Options ExecCGI FollowSymLinks MultiViews +Includes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
[kaipee@S2S-keith~]$ sudo ls -al /srv/
total 16
drwxr-xr-x 4 root root 4096 Mar 14 19:20 .
drwxr-xr-x 20 root root 4096 Mar 24 19:15 ..
dr-xr-xr-x 2 root ftp 4096 Mar 14 19:20 ftp
drwxr-xr-x 3 http http 4096 Apr 17 14:37 http
[kaipee@S2S-keith~]$ sudo ls -al /srv/http/
total 20
drwxr-xr-x 3 http http 4096 Apr 17 14:37 .
drwxr-xr-x 4 root root 4096 Mar 14 19:20 ..
rw-r--r- 1 http http 86 Apr 17 13:51 index.php
drwxr-xr-x 3 http http 4096 Apr 15 16:10 sure2dev.co.uk
rw-r--r- 1 http http 20 Apr 17 14:37 test.php
Last edited by kaipee (2013-04-17 17:04:52)

....OMFG I just seen it. My apologies lol
For future reference:
I didn't have index.php defined within my default VirtualHost (I stupidly only added it to my other VirtualHost)

Similar Messages

  • I can't figure out why this page splits in live preview... but not in the browser?

    I've finally got my site up and it all runs great... except I can't figure out why this one page behaves like it's too wide.
    http://www.johnnez.com/mainbooks.html
    It comes apart in the Live Preview.... but not in the browser preview.
    Thanks for any tips...
    jn

    john nez wrote:
    HTML is a total incrutable mystery to me... a mystery inside a mystery inside a mystery!
    Sounds to me like you've almost cracked it!
    You have one error that could cause problems and that's the stray </blockquote> tag.  Just delete it.
    The alt="" text will show as an error on the validator but that's easy to fix and worth doing.
    Here's an easy article on that: http://www.456bereastreet.com/archive/200412/the_alt_and_title_attributes/
    In one of your CSS files (JonzheaderindexCSS.css) you have this:
    body {
    margin-top: 20px;
    padding: 0;
    color: #666;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    line-height: normal;
    background-attachment: fixed;
    background-color: #E1B852;
    background-image: url(../images/orange%20plaid.jpg);
    background-repeat: repeat;
    html { overflow-y: scroll; }
    It should be like this:
    html {
    overflow-y: scroll;
    body {
    margin-top: 20px;
    padding: 0;
    color: #666;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    line-height: normal;
    background-attachment: fixed;
    background-color: #E1B852;
    background-image: url(../images/orange%20plaid.jpg);
    background-repeat: repeat;
    It looks like you have that rule repeated further down the page like this:
    html { overflow-y: scroll; }
    There's an extra curly brace there (}) anyway, so it is badly formed but the whole rule and extra curly brace can go.
    You can fix those errors but I have a sneaky suspicion that it isn't gong to solve the issue you describe.
    Fix those issues anyway and post back.  Maybe if you can show a screen shot of what you are seeing in DW it might help?
    Martin
    PS: It's never a good idea to have file names on the web that have spaces in.  Your background rule has this:
    background-image: url(../images/orange%20plaid.jpg);
    That .jpg should be orangeplaid.jpg or orangePlaid.jpg or orange_plaid.jpg and the change should be reflected in the reference to the image so, orangePlaid.jpg should be:
    background-image: url(../images/orangePlaid.jpg);

  • I'm staying at my house in Peru, South America. From my PC laptop I can see my neighbor's wifi service network, but I also have my mini iPad and I can not figure out why I can't get any wifi connection from my area. Is there a setting I need to do?

    I'm staying at my house in Peru, South America. From my PC laptop I can see my neighbor's wifi service network, but I also have my mini iPad and I can not figure out why I can't get any wifi connection from my area. Is there a setting I need to do?

    Yes, I did try to go on my settings>wifi and was waiting for any wifi signals to pick up, but nothing shows up. But on my PC I get a whole list of networks to choose from. Regarding my neighbor, I already have her password that is why I was able to get it on my PC, the problem is that the mini Ipad is not picking any signal neither can it locate me when I go to maps.

  • Can't figure out why colors don't totally change when you select type with curser? It looks like it has by looking at it, but when you highlight the area after the old color is still there. It happens with objects to. Driving me NUTZ. Help!

    Can't figure out why colors don't totally change when you select type with curser? It looks like it has by looking at it, but when you highlight the area after the old color is still there. It happens with objects to. Driving me NUTZ. Help!

    Select the text, and open the Appearance palette (Come on guys, text highlight is irrelevant, it happens to objects too says the OP), and see what's listed there.  For a simple text object, there should only be a line item "Type", followed by "Characters", and when double-clicked the Characters line item expands to tell you the stroke and fill color.  For a basic object, there should be a fill and/or stroke.
    What happens sometimes, is that you end up adding extra strokes/fills to objects or text, and the appearance palette is where that will be noted.  Especially when you are dealing with groups, and/or picking up a color with the eyedropper, you may inadvertently be adding a fill or stroke on top of something.  You can drag those unwanted thingies from the Appearance palette into its own little trash can.

  • I tried to Skype someone but I can't see them but they can see me and I can't figure out why?

    I tried to Skype somebody and they can see me but I can't see them and I can't figure out why?

    I'll guess that you're upgrading from Snow Leopard? You should be able to start using your original install dvd by inserting the disc and restarting while holding the C key. Run Disk Utility from your install disc  and try to repair the drive. Then try the upgrade again.

  • Apex bug?  Items being cleared in session state - can't figure out why

    I have an item that is being submitted with a value but is then being overwritten and set to null. I can't see any reason why the submitted value is being overwritten with null.
    I have been debugging this problem for most of the day and can't figure out what is happening and was hoping someone in the forum might be able to shed some light.
    Some details:
    The item is on Page 0, has source type of "PL/SQL Expression or Function", a source expression of "V('REQUEST')", and Source Used = "Always".
    I viewed the HTML source of the rendered page and can see the following HTML, so I know the item has a value when the page is rendered:
    <input type="hidden" id="RENDER_REQUEST" name="p_t08" value="EDIT" />
    I have used Firebug to view the HTTP POST body and can see that p_t08 is being correctly submitted with a value of "EDIT" in the post body.
    When I run the page in debug mode and then view the debug log, I see that Apex is indeed setting this item to null:
         0.01500     0.01600     A C C E P T: Request="WIZ_NEXT"
         0.23400     0.00000     Session State: Save form items and p_arg_values
         0.24900     0.01600     ...Session State: Save "BRANCH_TO_PAGE_ID" - saving same value: ""
         0.24900     0.00000     ...Session State: Save "ROWS_PER_PAGE" - saving same value: ""
         0.26500     0.01500     ...Session State: Save "P0_CLEAR_WS" - saving same value: ""
         0.26500     0.00000     ...Session State: Saved Item "RENDER_REQUEST" New Value=""
    I can't figure out why the item is being set to null.
    This problem also does not occur on every page. The pages in question are a multi-step "wizard" that allows the user to navigate between steps with "Next" and "Previous" buttons. Since this is a page 0 item, it appears on every page in the wizard so I'd expect it to behave the same. When you open the wizard at step 1 and press next to go to step 2, the item (RENDER_REQUEST) is set correctly on step 2 of the wizard, BUT when you then click Next to go to step 3, RENDER_REQUEST is null on step 3. If you open the wizard at step 2 and press Next, RENDER_REQUEST is null on step 3.
    I did find a work around, but it doesn't make any sense why it would work: if I move the RENDER_REQUEST item from the "Footer Items" region to a page level item (by using Edit All and setting its region to blank), then the problem goes away. If I move it back to the "Footer Items" region the problem reoccurs.
    I am working on Application Express 4.0.2.00.07 on Oracle Database 11g Enterprise Edition Release 11.2.0.1.0.
    Any help would be greatly appreciated!
    Thank you.

    Hi Patrick,
    Thanks for the quick response. Unfortunately, I can't reproduce this on apex.oracle.com due because the app requires PL/SQL packages to be installed in several schemas, including some that require system grants (I gave a presentation at Oracle Open World a couple of years ago on some of the techniques I used in building this application that you attended; I think the session was called "Building Large Commercial Applications with Oracle Database 11g and Oracle Application Express").
    Is there another way we can work together to debug this without reproducing it apex.oracle.com? For example, if you could send me an instrumented version of the APEX_040000.F procedure (or whatever procedure is clearing the session state) that has some additional APEX_APPLICATION.DEBUG calls, I could install it on my server, reproduce the error and send you the output.
    Thank you,
    Eric

  • Can't figure out why I'm dropping frames during capture

    I'm dropping frames when capturing 1-hour Mini DV tapes and I can't figure out why.
    I'm capturing on a Mac Pro (Early '08) with 8 GB of memory running FCP 7.0.3 and OS X 10.6.6. I'm capturing to a 4 TB G-Speed eS (eSATA) formatted as RAID 5 (Non-Journaled Extended) with about 750 GB of remaining space. I'm capturing via FireWire with a Canon GL-2. This should be a breeze for this system.
    I've run Apple Disk Utility, Disc Warrior 4 and Techtool Pro 5 on the drives and they seem to be fine. I've unplugged all USB and FireWire devices besides the keyboard and mouse. No virus protection or background utilities are running. I've trashed preferences. AJA System Test shows a 286 MB/s write speed and 254 MB/s read speed. Blackmagic Disk Speed Test shows a 312 MB/s write speed and a 379 MB/s read speed. No other applications besides FCP are running. I edit 1080p HD footage on this system all day long with no issues but when I try to capture DV SD footage, I run into issues.
    The dropped frames error does not ever occur in the same place on the tapes. The tapes are brand new and don't seem to have any time code issues. The only thing I haven't done is to defragment the hard drives. I wouldn't think that capturing simple DV video would be that demanding; the defragment for a 4 TB RAID would likely take 2 or 3 days.
    Any other ideas on what's going on and how to try to fix it? Thanks!

    Thanks for the prompt reply, Studio X. Yes, I'm using FireWire Basic and no other FireWire devices. I've switched FireWire cables, although I doubt that's the issue as the cable I was using was brand new and fit snuggly. Unfortunately, I don't have an alternate playback device right now. Would switching to Non-controllable device capture settings be worth a try?

  • All of a sudden my new iphone will not hold a charge even when it is not being used and I can't figure out why???

    my battery drains even when iphone is not being used.  It is a relatively new phone and this battery draining just started and I can't figure out why????

    Yes, thank you.  My apologies, I was typing one handed and did not add that. 
    Anyway, I have tried deleting the cache, deleting my pics and then re-syncing, etc. and nothing is working This is very frustrating, as I had no problems up until about 2 weeks ago, and now all of a sudden, I have this issue......UGH!

  • Hi, I can't figure out why I can't render on my timeline. I highlight the segment hit "Apple-R" and it gives me a weird message about "conforming HDV video...." and the bar goes as far as 60-66% and holds there forever. It never renders even partially.

    Hi, I can't figure out why I can't render on my timeline. I highlight the segment hit "Apple-R" and it gives me a weird message about "conforming HDV video...." and the bar goes as far as 60-66% and holds there forever. It never renders even partially.

    Yes, I know. I have been working with HDV for some time. I am wondering why it doesn't render when it needs to.. the red and bright-green lines are above, and I've set the render settings such that ANYTHING I highlight and hit apple-R will render. But its not rendering at all.

  • I have an iphone5 that is eating up data time and I can't figure out why? Any thoughts?

    I have an iphone5 that is eating up data time and I can't figure out why? Any thoughts? I have closed everyting I can, even took the phone to Verizon and they are not sure what is going on.   My company email is active and pushes to the phone....I use Safari regularly to look up stuff for personal and work use.  I am on Facebook but have turned it off in notifications.  Four phones and a hotspot on the account....we have 6g and have never come close to it, until lately and it's my phone that's eating up the gigs.  So what the heck is going on?

    Go to Settings/Cellular and you can see how much data each app is using. You can Reset Statistics, then track all of the apps data usage.

  • I'm trying to make an in app purchase and it keeps telling me to come to the support page but I can't figure out why it won't let me do it

    I'm trying to make an in app purchase and it keeps telling me to come to the support page but I can't figure out why it won't let me do it

    And I have gone to the support and it was no help

  • I can't figure out why my reverb and echo things are greyed out

    I can't figure out why my reverb and echo things are greyed out on the bottom right of my screen with the edit tab open for the track. I was going to put a screenshot in here but I couldn't figure it out. I one can understand what I mean. Thank you.

    bennirubber wrote:
    reverb and echo things are greyed out on the bottom right of my screen
    http://www.bulletsandbones.com/GB/GBFAQ.html#effectsdisabled
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Can't figure out why my navbar gets all pixelated online?

    Hi Everyone,
    I'm designing a floating site.  My workflow is PS=====>Fireworks====>Dreamweaver.  I made a navbar in FW with a transparent background and exported html to dreamweaver.  I inserted the fireworks htm, put it online and it looks terrible.  You can see it here:
    http://www.njtraininggrounds.com/thirddaydesign.com/identity.html
    Don't worry about the portfolio button, I know what's going on there.  But I can't figure out why there is "stairstepping" on the logo and on all the navbar buttons.  This is the first time I've ever created a floating site.  I just put a jpeg for repeat using the dreamweaver css, and then inserted the rest in a table. 
    Could anyone give me an idea of what I'm doing wrong?  Thanks so much.
    Wil

    There's no problem with using PNG8, PNG24, or PNG32, other than the huge
    weight of the latter two.  But there's no need to go PNG here.
    Personnaly I see only advantages in using PNG. The good thing about using PNG for graphics like this is that it does not tie you to a background with a certain color. like a GIF with a colored matte does. Should you wish to change your background color later you can keep on using your menu buttons. There is no need to prepare new graphics for the menu just because you change a background color or image.
    As for the "huge" weight of the PNG file, I'd say that depends on your definition of "huge"
    If you compare the filesizes of a simple graphic like that, I see no big improvement by using GIF.
    see screenshot:

  • Can't figure out why my zoom into stills shakes

    I have been using keyframes to create zooms and pans over pics, but every once in a while one of the pics shakes while it's moving. I can't figure out why this happens- any ideas? THANKS

    What you might be experiencing is a scaling issue: you're not really zooming into a picture but actually scaling it. Keep in mind DV is a 4:3 ratio. And your photos probably aren't. Scaling an image is shifting the pixels in an image and so if you're making the picture grow or shrink, you're shifting those pixels and that's could be what you are seeing. What size are your pictures? Are they huge, like twice the size of your standard 720 x 480 DV?
    If your photo images are extremely large (like 2838 x 2205, 300 dpi) you might try opening them up in a program like Photoshop and making a smaller version. You can force the results to be 4:3 by using the Crop tool. Be sure to adjust the Crop settings to something like 1440 px x 960 px , 72 dpi (double 720 x 480 so you can still scale) and then Crop the photo. Keep in mind, you might lose some of the photo because it isn't 4:3, so use Crop judiciously. Save the resulting image as something else and try using it instead of the original. Be sure to _render the results in the Timeline_ even though Final Cut may refer to it as a real-time effect.
    Also you should only have four total keyframes: a keyframe for the starting Scale size and a keyframe for the starting Center position. Then you should have a keyframe for the ending point for both Scale and Center where the image in Final Cut's Canvas window is either larger or smaller. That's it. If you have any other keyframes in-between these four, you can have problems-- which show up as the image moving around, hesitation, or some other unwanted movements.
    Good luck!

  • Can't figure out why my iMac is so slow

    My 2.16 Intel Core 2 Duo iMac has suddenly slowed to a crawl, and I can't figure out why.  Opening anything (including a Finder window) results in a 30 second to 5 minute lag.  I've seen the spinner more in the last month than I did in the previous 4+ years of owning it.
    Since it's my spare machine now, I completely re-formatted the hard drive and did a fresh install of 10.4.7 from the discs it shipped with.  I have run the Apple Hardware Test, and everything tests OK.  Disk Utility tells me there's nothing wrong with the disk, and all permissions are good.  What am I missing?

    Earl...
    I know you said you reformatted the drive but just in case, how much free space on the startup disk?
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure you have a minimum of 15% free disk space.
    fresh install of 10.4.7
    Most recent version for Tiger is v10.4.11. Have you tried updating the software from the Apple menu > Software Update?

Maybe you are looking for

  • Why can't I email a pdf file from Acrobat XI Standard?

    Whenever I try to email a pdf file from Acrobat XI Standard, nothing happens. Outlook 2007 is my default email program. I have checked the preferences to be sure that Outlook is checked as default, and it is, but when I click on the email icon or sel

  • Flex 4 preloading modules and moduleFactory question?

    Hi, I've run some tests and taking into consideration this info about preloading modules: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf64277-7ffd.html#WS2d b454920e96a9e51e63e3d11c0bf64277-7feb Here are 2 scenarios: 1) If you

  • Aged trial balance

    Hi, I can see two opens in a customer when I go to FBL5N. However, when I go to Aged Trial balance report, they are not showing in that report. Can anyone tell me what can be the reason of open items not showing in the aged trial balance report thank

  • Mounting a MTP device in Amarok

    I'm running Arch with KDEmod installed and I'm trying to set up Amarok to mount my 60 GB Creative Zen Vision which is a MTP device. I have installed libmtp and my user is a member of hal and dbus but everytime I try to connect to my Zen I get the err

  • Is it possible to search for special releasedates in the iTunesStore

    Hello, i'm a german musician and i want to create a song formed by a mix out of other songs released on the same day. Is it possible to search for a special releasedate, like 10.04.2012, in the iTunes Store? Thanks for help, best regards