SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: 403 error

  1. #1
    SitePoint Member
    Join Date
    Apr 2005
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    403 error

    I have just installed fedora core 3 on one of my servers with apache. I configured apache via GUI, but it is not working well I dump my html files in the /var/www/html folder. but when i acess to my site I got a forbidden 403 error. even i try something like http://myServer/mypage.html the error still exist. can someone help me in this?

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,644
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    mac,

    Fresh outta the box, eh? Well, check the httpd.conf file to be sure the location of the Linux webspace is, indeed, /var/www/html and their chmod should be 755 (you don't want others to be able to write, just read and execute -- assuming you're using server-side scripting).

    Unless you've changed your hosts file to define myServer, too, you'll be forced to use localhost as your server, i.e., http://localhost/mypage.html should give you your page.

    Apache's setup recommends testing their default page, too, at http://localhost (defaults to http://localhost/index.htm) so that should have been your first test. Did that work?

    Lots to do in a setup but I'm sure we can get you going - Apache is relatively user-friendly!

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •