Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

What is my root url?


Pjeras

Recommended Posts

Posted

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.

Posted

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)

Posted
Or you can go to admin->tools->Server Info and scroll down to where it says Document Root.

 

Jack

 

Thank you Jack_mcs,

 

I found it ;)

 

AlanR method is also working :)

 

Thanks a lot people.

Archived

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

×
×
  • Create New...