OllieMackJames Posted February 22, 2013 Share Posted February 22, 2013 How can I install pw with the wire core files one directory up from the public_html? I tried but could not get it to work. I had to keep the wire dir in the root. thanks Ollie Link to comment Share on other sites More sharing options...
diogo Posted February 22, 2013 Share Posted February 22, 2013 You have to change this line in the "index.php" file $wireDir = 'wire'; Link to comment Share on other sites More sharing options...
OllieMackJames Posted February 22, 2013 Author Share Posted February 22, 2013 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 Link to comment Share on other sites More sharing options...
diogo Posted February 22, 2013 Share Posted February 22, 2013 Try with a relative path. Assuming that you have this structure -domain.com --httpdocs ---index.php --wire use this: $wireDir = '../wire'; Link to comment Share on other sites More sharing options...
OllieMackJames Posted February 22, 2013 Author Share Posted February 22, 2013 Diogo, thanks for thinking along, no luck either $wireDir = '../wire'; did not work - gave me this message: Unable to complete this request due to an error. tnx Link to comment Share on other sites More sharing options...
ryan Posted February 22, 2013 Share Posted February 22, 2013 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. Link to comment Share on other sites More sharing options...
OllieMackJames Posted February 22, 2013 Author Share Posted February 22, 2013 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. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now