Pedro Alonso Posted January 29, 2009 Share Posted January 29, 2009 Hello,I'd like to help you out to rearrange the files of the application in several folders and just let in the root the index.php file. I will have several applications hosted in the root folder and I don't like the idea of have that big amount of .php files in the root folder. What do you think about that? would it require a lot of code rewriting?thanks,Pedro Link to comment Share on other sites More sharing options...
giralatina Posted January 29, 2009 Share Posted January 29, 2009 Helloyou should have a root folder (eg. /var/www/prestashop/) .In that folder you'll find the whole prestashop architecture Link to comment Share on other sites More sharing options...
Pedro Alonso Posted January 29, 2009 Author Share Posted January 29, 2009 but what if I want to host prestashop in the main domain: domain.com which folder is ~/public_html/I don't want to create a subfolder ~/public_html/prestashop/* becuase then the url of the shop would be domain.com/prestashop. The idea that I am proposing is to rearrange the files in the same way that's done in wordpress, not a major change I think, then I can store prestashop in ~/public_html/ and I'll have just one index.php and several folders named ps_whatever ... does it make sense?thx!p Link to comment Share on other sites More sharing options...
giralatina Posted January 29, 2009 Share Posted January 29, 2009 it is not corret to put or to modify prestashop because you want to have a root folder public_html.You can create VirtualHost with Aapchehttp://httpd.apache.org/docs/1.3/vhosts/name-based.html Link to comment Share on other sites More sharing options...
Pedro Alonso Posted January 29, 2009 Author Share Posted January 29, 2009 yes I can. I don't want to modify prestashop and keep the chagnes locally. If I can agree with the team to rearrange it for the next release I am volunteer to do it. Otherwise I'll make a workaround to make it work as I want. I am talking about helping and support the team to improve the source code of the solution.thx Link to comment Share on other sites More sharing options...
Recommended Posts