Irish SEO,  Marketing & Webmaster Discussion

 

Shared file in /home directory. How to set its permissions?

This is a discussion on Shared file in /home directory. How to set its permissions? within the Server / Technical Administration Tips and Queries forums, part of the Webmaster Help category; Hello I hope someone can help me with this. I am creating a number of websites which will use a ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Server / Technical Administration Tips and Queries

Register Forum Rules FAQDonate Calendar Search Today's Posts Mark Forums Read

  #1 (permalink)  
Old 24-08-2008, 12:23 AM
Wannabe Geek
 
Join Date: Sep 2006
Posts: 195
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
dude will become famous soon enough
Default Shared file in /home directory. How to set its permissions?

Hello

I hope someone can help me with this.

I am creating a number of websites which will use a shared script, i.e. a PHP script containing a number of shared functions.

I am thinking of putting this shared script in /home.

Does anyone know how I can make this script accessible by all the different websites?

For example, in each website's index.php page I can include "include $DOCUMENT_ROOT/../../shared_script.php".

What permissions do I need to set on /home/shared_script.php to get this to work?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 24-08-2008, 10:01 AM
Forbairt's Avatar
respect my AW-THOR-IT-AYY
 
Join Date: Jun 2007
Location: My Office, Dublin
Posts: 2,157
Nominated 2 Times in 1 Post
Nominated TOTW/F/M Award(s): 1
Forbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enoughForbairt will become famous soon enough
Send a message via AIM to Forbairt Send a message via MSN to Forbairt Send a message via Yahoo to Forbairt Send a message via Skype™ to Forbairt
Default

I think chmodding it to 644 should do the trick ?
__________________
Forbairt Media | Web Design Dublin, Ireland - Web Development Dublin, Ireland
Recent Work: Safari Club African Safari Holiday - South Africa Holiday Safaris
Other Stuff: FluffyLinkulator Rapid Inclusion Service Tool
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
directory, file, or home, permissions, set, shared

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Sponsored links

Pepperjam Network
Paid On Results www.zanox.com


All times are GMT +1. The time now is 06:47 PM.


Powered by: vBulletin Version 3.8.2, Copyright ©2000 - 2009, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51