2 Replies - 1440 Views - Last Post: 25 March 2012 - 04:20 AM

#1 sharkeyph  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 37
  • Joined: 28-March 11

Basic Apache Question

Posted 24 March 2012 - 11:58 AM

Hey Guys,

So I have setup Apache on my laptop with the purpose of testing a site I am developing and I have little experiance with Apache. I have written a basic index.html page and it is located in the /var/www/html directory. my httpd.conf file points to this location as the default directory to serve from. I am attempting to get apache to serve the page by typing 'http://localhost.index.html' in the browser and I am getting nothing... I have played a bit with file permissions to no avail.

I also have MASON and Catalyst installed on my machine. Checking the log the error I am getting at this point is :


[Sat Mar 24 11:55:04 2012] [error] [client ::1] Could not create '/etc/httpd/mason/obj/.__obj_create_marker': Permission denied\nStack:\n  [/usr/share/perl5/vendor_perl/HTML/Mason/Interp.pm:222]\n  [/usr/share/perl5/vendor_perl/HTML/Mason/Interp.pm:169]\n  [/usr/share/perl5/vendor_perl/HTML/Mason/Interp.pm:155]\n  [/usr/share/perl5/vendor_perl/Class/Container.pm:329]\n  [/usr/share/perl5/vendor_perl/Class/Container.pm:53]\n  [/usr/share/perl5/vendor_perl/HTML/Mason/ApacheHandler.pm:632]\n  [/usr/share/perl5/vendor_perl/HTML/Mason/ApacheHandler.pm:411]\n  [(eval 29):6]\n  [-e:0]\n




I am not really sure how to deal with permissions for this error. I am new to linux (~ 1 year) and most of my experiance is in developing on systems that are already configured. Any ideas?


Thanks!!!

Is This A Good Question/Topic? 0
  • +

Replies To: Basic Apache Question

#2 sharkeyph  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 37
  • Joined: 28-March 11

Re: Basic Apache Question

Posted 24 March 2012 - 12:06 PM

Edit:

The url I enter is actually 'http://localhost/index.html'. sorry
Was This Post Helpful? 0
  • +
  • -

#3 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6081
  • View blog
  • Posts: 23,556
  • Joined: 23-August 08

Re: Basic Apache Question

Posted 25 March 2012 - 04:20 AM

From a Google search of your error.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1