Jump to content

Recommended Posts

Posted

Diogo,

tried that but no luck:

I uploaded wire to /home/xxxx/domains/domain.com/wire

and changed $wireDir = 'wire'; to

$wireDir = '/home/xxxx/domains/domain.com/wire';

and nothing worked any more.

Maybe it needs another setting?

thanks

Posted

Try with a relative path. Assuming that you have this structure

-domain.com
--httpdocs
---index.php
--wire

use this:

$wireDir = '../wire';
Posted

While you can change those directory names in index.php, it's not something that ProcessWire is designed to support. I also don't recommend trying to change them just because it would introduce potential security problems, as the htaccess file is focused on blocking certain directories and access while allowing others. Also, this would make it difficult for you to upgrade ProcessWire, since your directory structure would be different from the source. Lastly, many files in /wire/ actually need to be http accessible, like the css and js files that are used by modules. So /wire/ must web web accessible. 

Posted

OK, thanks Ryan, I was led to believe that getting the core out of the root would improve security, but I can see that the htaccess does deal with that.

Thanks for a great product, just started yesterday and so far really REALLY like what I see.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...