The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Weird apache problem...anyone have any advice?

Discussion in 'EasyApache' started by Snowman30, Apr 16, 2004.

  1. Snowman30

    Snowman30 Well-Known Member
    PartnerNOC

    Joined:
    Apr 7, 2002
    Messages:
    681
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    DataCenter Provider
    Ive got a weird problem with a domain on one of my servers.

    It has an osCommerce install running in it and it all works fine except for one thing.

    the client has a folder called /icons directly under public_html which when viewed via ftp has the correct files in it but when viewed by a browser shows the contents of what appears to be the /usr/local/apache/icons/ folder.

    Ive deleted and recreated the files and the folder and nothing changed

    Ive checked the permissions and the ownership of the files and the folder and they appear to be correct and there is no .htaccess file to screw things up unyet this still is a problem.

    One thing i have noticed is that if i view the site via a servername/~username combo the correct files show up.

    anyone have any suggestions???
     
  2. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    It's because of an Alias /icons/ "/usr/local/apache/icons/" line in httpd.conf. You'll probably notice the same with manual.
     
Loading...

Share This Page