Pjeras Posted September 24, 2005 Posted September 24, 2005 I am installing one script to osc and I need to set my document root (installed path (unpacked dir) of script). I searched examples, but it is not working, I think it should be something like: /var/public_html/domain/catalog/ but I don't what is exactly my root. Please help me.
AlanR Posted September 24, 2005 Posted September 24, 2005 Save this little file to your server, you can name it myroot.php <?php echo '<br>Document Root: ' . getenv('DOCUMENT_ROOT'); ?> Then just go to your server like so: http://yourserver.com/myroot.php and you'll have your document root. ;) Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)
Jack_mcs Posted September 25, 2005 Posted September 25, 2005 Or you can go to admin->tools->Server Info and scroll down to where it says Document Root. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Pjeras Posted September 25, 2005 Author Posted September 25, 2005 Or you can go to admin->tools->Server Info and scroll down to where it says Document Root. Jack <{POST_SNAPBACK}> Thank you Jack_mcs, I found it ;) AlanR method is also working :) Thanks a lot people.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.