More advanced .htaccess and apache2

  • Goose
  • Born
  • Born
  • Goose
  • Posts: 1

Post 3+ Months Ago

I am using Apache 2 ong Suse Linux.

Webserver is working fine and so is .htaccess but there is one problem that I can't figuer out.

When I access then I got a Authorization wintow to wirte User name and Passord configuren in .htaccess and .htpassword but when I want to include a file from to a page whitch is a directory before admin also: then I ac access this file throud include in PHP withaut getting Authorization Window.

Now. I want to secure Admin directory in 100% so I have to get Authorization Windows before I can access Admin files throug include.

Some one knows how and if it can be fixed?

PS! Sorry for my english. BTW I am from Norway
  • rjmthezonenet
  • Expert
  • Expert
  • User avatar
  • Posts: 526
  • Loc: St. John's, Newfoundland, Canada

Post 3+ Months Ago

That can't be fixed. The included file is called from another directory and the security of that other directory is what rules. You can configure PHP such that includes only come from particular directories...

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 5 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.