2 Q in mambo administration

Need help with the Administration of your Joomla! site? Pop your questions in here.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
User avatar
mophsy
Joomla! Explorer
Joomla! Explorer
Posts: 286
Joined: Fri Aug 19, 2005 7:54 am
Location: Romania
Contact:

2 Q in mambo administration

Post by mophsy » Sat Aug 20, 2005 12:19 pm

1. Installing mambo in root directory will not allow to get access to any dir that is below him. I want, even i have installed mambo in root dir to give acces to a directory let's say "private_pic"; Where i have to set the permission in mambo to allow access to this dir from outside?

2. {mospagebreak} when it is used it allow us to create outline of that document : page 1, page 2 etc.
I saw a tutorial on a web page that is specialised in mambo how to create 4 ex>[insted of page 1] This is the title >[insted of page 2] This is the chapter 2 of my doc a.s.o..

Forgot to bookmark that page...:( can anyone help me?

Thanks

camos
Joomla! Ace
Joomla! Ace
Posts: 1056
Joined: Thu Aug 18, 2005 2:39 am

Re: 2 Q in mambo administration

Post by camos » Sat Aug 20, 2005 1:08 pm

1. Mambo does not prevent access to any dir.  That is done using the .htaccess file.  Mambo does prevent the loading of a file directly if something like this is included:
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

Explain again what it is you want to accomplish.

2. From [url=http://"http://help.mamboserver.com/index.php?option=com_content&task=view&id=690&Itemid=124"]help.mamboserver.com[/url]
Adds a Table of Contents functionality to a paginated item.
Usage: { mospagebreak } or { mospagebreak title=The page title } or { mospagebreak heading=The first page } or { mospagebreak title=The page title&heading=The first page } or { mospagebreak heading=The first page&title=The page title }

Note: The tags described above should have no space after  "{" and before "}". They have been displayed with spaces here to not implement the function in this screen.

Cheers
Freedom is not free!
It is however Open Source.

User avatar
mophsy
Joomla! Explorer
Joomla! Explorer
Posts: 286
Joined: Fri Aug 19, 2005 7:54 am
Location: Romania
Contact:

Re: 2 Q in mambo administration

Post by mophsy » Sat Aug 20, 2005 1:35 pm

camos wrote: 1. Mambo does not prevent access to any dir.  That is done using the .htaccess file.  Mambo does prevent the loading of a file directly if something like this is included:
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

Explain again what it is you want to accomplish.

Thanks a lot camos.

at no 1. if you install mambo in root or whatever and make a dir inside where mambo was installed and put some stuffs there...well if you want to give a direct link [even the .httaccess is not working] the person you are giving the link is not able to see it.

More in depth... if you give a link to a file that is inside mambo http://myweb/private/pic.jpg to someone it cant be displayed or downloaded cause, as far as i know mambo has that : direct access not allowed

camos
Joomla! Ace
Joomla! Ace
Posts: 1056
Joined: Thu Aug 18, 2005 2:39 am

Re: 2 Q in mambo administration

Post by camos » Sat Aug 20, 2005 2:06 pm

Using .htaccess to block dirs is an Apache thing and not Mambo.  If there is no .htaccess file then all dirs can be accessed directly.  Under some circumstances the dirs can be browsed if there is no default file like index.php, index.html etc.  Possibly this can be controlled at the server level as well, I am not sure about that though.

If there is no .htaccess restriction then make sure the file permissions are set recursively and /private/pic.jpg are both readable by anonymous or nobody or whatever.

Cheers
Freedom is not free!
It is however Open Source.


Locked

Return to “Administration - 1.0.x”