0
Welcome Guest! Login
0 items Join Now

How to find absolute path?

  • How to find absolute path?

    Posted 17 years 6 months ago
    • A bit of a noob question, but I forget an easy way to find the absolute path on my server.

      i.e. the one that goes in your configuration.php file.
    • www.ninjoomla.com - The Ninjoomla Open Source Extension Club
      Over 50 open source extensions and 100 videos to you build the site you want.
  • Re: How to find absolute path?

    Posted 17 years 6 months ago
    • In your Joomla! admin area:

      Site--->Global Configuration and click on the 'Server' tab.

      Hope this helps Daniel


      Mike
  • Re: How to find absolute path?

    Posted 17 years 6 months ago
    • Is there a non-Joomla! way apart from hassling the host?
    • James Spencer / Developer & Support / Hull, UK
  • Re: How to find absolute path?

    Posted 17 years 6 months ago
    • That's a good question. What about using your ftp program to find the absolute path?
  • Re: How to find absolute path?

    Posted 17 years 6 months ago
    • Sometimes it only gives a relative path from my user account such as the folder container public_html which isnt absolute. A programme or script would be great, havent seen one yet
    • James Spencer / Developer & Support / Hull, UK
  • Re: How to find absolute path?

    Posted 17 years 6 months ago
    • The reason I need it it is because the config file is broken :P

      tried my ftp client. it's just relative. :(
    • www.ninjoomla.com - The Ninjoomla Open Source Extension Club
      Over 50 open source extensions and 100 videos to you build the site you want.
    • Mack's Avatar
    • Mack
    • Elite Rocketeer
    • Posts: 535
    • Thanks: 0

    Re: How to find absolute path?

    Posted 17 years 6 months ago
    • shell in

      pwd -P the physical directory, without any symbolic links;
      pwd -L makes pwd follow symbolic links
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: How to find absolute path?

    Posted 17 years 6 months ago
    • not many accounts on shared hosts have shell access, although often this can be requested.

      have you tried /home/accountname/public_html ? <<< it's quite common.
    • Say no to Internet Explorer 6.
      twitter.com/mark_up
  • Re: How to find absolute path?

    Posted 17 years 6 months ago
    • Cheers Mack. Will try to get shell off the client.

      Wight try your idea first though Gx. :D
    • www.ninjoomla.com - The Ninjoomla Open Source Extension Club
      Over 50 open source extensions and 100 videos to you build the site you want.
  • Re: How to find absolute path?

    Posted 17 years 6 months ago

Time to create page: 0.056 seconds