Problems generating webpages on a Apache server

Discussion in 'Apache' started by edorf67, May 24, 2010.

  1. #1
    Hi,
    First of all: excuse my pore English but I hope some of you understands me:)

    I've just purchased a CMS-system from arsidian.com
    After installing it on a public server (hosting service) it works as expected but when I installs it on my local host, it won't work.

    The system doesn't have a index-file (e.g. index.php) so the webpage with content should generate from the DB.

    When looking at www.my-page.com it works fine and the pages are being generated as they should.
    When looking at http://localhost/my-page/ it won't work. I only see a list with the content of the folder "my-page" (the same list you see when trying to access a page that don't exist).

    To me it seems that the problem is the apache-server, but I'm far from shore, as my IT-skills is far from good!

    Do you have any ideas what couses the webpages from being generated at my local host?

    I'm thankful to any suggestion that can be of any help!

    Thank you!

    System:
    Apache 2.2.15
    php 5.3.2
    MySQL 5.1.47
    Windows XP pro
     
    edorf67, May 24, 2010 IP
  2. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #2
    I'd check you have a .htaccess file as that should have the rewrite rules in it which from what you describe are needed to make this work.
     
    tolra, May 24, 2010 IP
  3. edorf67

    edorf67 Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I do have a .htaccess file. It looks exactly the same as it does on the system that's working fine...
     
    edorf67, May 24, 2010 IP
  4. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #4
    Does your install have mod_rewrite enabled?
     
    tolra, May 24, 2010 IP
  5. edorf67

    edorf67 Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Do you mean: LoadModule rewrite_module modules/mod_rewrite.so ?
    If so, this was disabled. I enabled it and restarted the apache server but with the same result :(
     
    edorf67, May 24, 2010 IP
  6. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #6
    Yes, I'm guessing how the script works here, but I'd expect you to need that module.

    Can you give us the contents of .htaccess because at least it gives me an idea if I'm looking in the right direction.
     
    tolra, May 24, 2010 IP
  7. edorf67

    edorf67 Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    The forum rules prevent me from posting more then 3 lines (and links)...
     
    Last edited: May 24, 2010
    edorf67, May 24, 2010 IP
  8. tolra

    tolra Active Member

    Messages:
    515
    Likes Received:
    36
    Best Answers:
    1
    Trophy Points:
    80
    #8
    I've sent you a PM with details in it of how to let me see what's going on there and hopefully fix it.
     
    tolra, May 24, 2010 IP
  9. edorf67

    edorf67 Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Yeehaa! tolra fixed it! :)
    The problem was mainly in the httpd.conf - file.
    Case closed.....and I'm a happy man again thanks to tolra! :)
     
    edorf67, May 24, 2010 IP
  10. premeet01245

    premeet01245 Guest

    Messages:
    87
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    don't very just on search engine about it
     
    premeet01245, May 25, 2010 IP