Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

IE access view to sub dirs


LordWiz

Recommended Posts

Posted

Ok,

 

I'm unable to view sub directories *.php files on local server with IE.

I'm trying to view the following file: column_left.php

http://localhost/catalog/includes/column_left.php

 

I get the following error:

Access forbidden!

You don't have permission to access the requested object. It is either read-protected or not readable by the server.

 

If you think this is a server error, please contact the webmaster.

 

Error 403

-------------------------------

The strange thing is that if I open main catalog site I get a msg at the top:

 

Warning: I am able to write to the configuration file: C:/apachefriends/xampp/htdocs/catalog/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.

------------------------------

So I know for a fact that "includes" directory has access!

 

Any suggestions?

Posted

Not quite sure what you are trying to do, but you are not comparing like with like.

 

Directly accessing a script through a web browser is not the same as a php script trying to access the same file - the former is the "world" user, and the letter is the apache user (generally "nobody" if phpsuexec isn't installed)

Posted

Aaaaa.....I did not know that!

 

I'm looking at the file column_left.php and do realize that it does not have the HTML tags at the beginning of the page or at the end.

 

This makes more sense. I'm new to PHP so this is nothing but a learning curve.

 

Thanks

Erick Franco

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...