SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Sep 2005
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Permissions issue when trying to access site on different drive - Apache/ WIN

    Hi,

    I'm trying to set up a site on a separate drive from the Apache install, but I get a permissions error when I try to access it. I.e. I have some sites and Apache on c:\ but want this site on e:\.

    I've put an entry into httpd-vhosts.conf that points to the site. I presume there's something else I need to consider but not sure what..

  2. #2
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,625
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Check what user the apache service is running under and make sure said user has access to the folder.

  3. #3
    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)
    ER,

    I've been through that with XP and Win7 (very different due to the add'l "security" within W7).

    On the assumption that you're using Vista or Win7, DO NOT install anything (but MySQL) in the Program Files directory. In fact, I created a drive partition (W:\ ... for "web", get it?) and have Apache and PHP installed there. That makes Apache's conf files easily editable (without having to resort to "Run As Administrator"). The thing that gets left behind is the hosts file (C:\Windows\system32\drivers\etc\hosts) which you must use "Run as Admin" to edit (to add the localhost test domain).

    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
  •