Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 04:27:21 PM

Pages: [1]   Go Down
  Print  
Author Topic: Is there Index Manager in LPCP  (Read 5014 times)
cre8tivegirl
Space Explorer
***
Offline Offline

Posts: 9


« on: February 25, 2010, 01:48:47 PM »

I am wondering if there is an equivalent in LPCP to the "Index Manager" feature that is in cPANEL to prevent people from viewing directories that do not have a index.html file in them?

In cPanel Index Manager is described as "Index Manager - The index manager will allow you to turn indexes on or off for a directory. If indexes are off, people will not be able to see what files are in a directory that lacks an index file. "

I really need to set this up for a client, but this is the first client I have signed-up with Lunar Pages that is using the new LPCP panel and I can't find any support for this topic anywhere.

Any help would be greatly appreciated.

Logged
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5083



« Reply #1 on: February 25, 2010, 04:00:25 PM »

All Index Manager does (in cPanel) is add a line to .htaccess:
Code:
Options -Index

You can do that manually if LPCP doesn't provide a way. By the way, you can add Options +Index in a lower level .htaccess file to turn indexing back on for that directory and everything below it.
Logged

cre8tivegirl
Space Explorer
***
Offline Offline

Posts: 9


« Reply #2 on: March 08, 2010, 12:26:45 PM »

Can you tell me how to do that in an hta access file?  what would I put?  I have no clue how to do that and since no one from LunarPages is answering I'm assuming there is no Index manager in LPCP.
Logged
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5083



« Reply #3 on: March 08, 2010, 03:24:10 PM »

Just add a line anywhere in .htaccess (that's not in the middle of something else)
Code:
Options -Index

If you're not sure where is safe, just add it at the very end of the file. Just use the File Manager editor, or download to your PC, edit, and upload.
Logged

lexhair
Galactic Royalty
*****
Offline Offline

Posts: 402


« Reply #4 on: March 09, 2010, 06:12:45 AM »

LPCP doesn't do any .htaccess mods. At least none that I've found.
Logged
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5083



« Reply #5 on: March 09, 2010, 08:15:06 AM »

LPCP doesn't do any .htaccess mods. At least none that I've found.

Really? Are you saying that it won't do anything that simply edits the .htaccess file (e.g., turn indexing off, do redirections/URL rewrites, etc.)? If so, maybe they just saved that for last (low priority), as it's just a convenience feature rather than something that a site owner absolutely can't do on their own. I.e., the site owner can always edit .htaccess and directly add commands, although most would prefer to let the control panel do that.
Logged

lexhair
Galactic Royalty
*****
Offline Offline

Posts: 402


« Reply #6 on: March 09, 2010, 11:57:44 AM »

LPCP doesn't do any .htaccess mods. At least none that I've found.

Really? Are you saying that it won't do anything that simply edits the .htaccess file (e.g., turn indexing off, do redirections/URL rewrites, etc.)? If so, maybe they just saved that for last (low priority), as it's just a convenience feature rather than something that a site owner absolutely can't do on their own. I.e., the site owner can always edit .htaccess and directly add commands, although most would prefer to let the control panel do that.
LPCP doesn't mod the .htaccess file when you create subdomains (cPanel did). Same for protecting images from hot linking (cPanel did, LPCP doesn't).
Logged
MrPhil
Berserker Poster
*****
Offline Offline

Posts: 5083



« Reply #7 on: March 09, 2010, 01:05:24 PM »

What does cPanel do to .htaccess when you create a subdomain? I don't recall anything being done to my .htaccess when I added a subdomain under cPanel. How does LPCP protect against hotlinking? Certainly one way to do it is to exempt (whitelist) certain domains with RewriteCond and then use a RewriteRule to deep-six references to certain file extensions. I suppose there are other ways it could be done, but if they're not in .htaccess, I'd be concerned about loss of fine control over the process.
Logged

lexhair
Galactic Royalty
*****
Offline Offline

Posts: 402


« Reply #8 on: March 10, 2010, 07:24:39 AM »

What does cPanel do to .htaccess when you create a subdomain? I don't recall anything being done to my .htaccess when I added a subdomain under cPanel. How does LPCP protect against hotlinking? Certainly one way to do it is to exempt (whitelist) certain domains with RewriteCond and then use a RewriteRule to deep-six references to certain file extensions. I suppose there are other ways it could be done, but if they're not in .htaccess, I'd be concerned about loss of fine control over the process.
cPanel writes the rules and conditions for the redirect for a subdomain. I don't know if LPCP is set to protect against hotlinking since that's done in .htaccess.
Logged
Hilary8Ward
Newbie
*
Offline Offline

Posts: 1


I am a Loan Officer


« Reply #9 on: January 18, 2011, 11:28:10 PM »

But how its work... How does LPCP protect against hotlinking??
Logged

watsonovedades
Space Explorer
***
Offline Offline

Posts: 7


WWW
« Reply #10 on: February 07, 2011, 01:46:48 AM »

Can you tell me how to do that in an hta access file?  what would I put?  I have no clue how to do that and since no one from LunarPages is answering I'm assuming there is no Index manager in LPCP.

Im not being able to perform this in a HTA file anyone else can help me with this? i assume that LPCP has no index manager?

Cheers
Logged

Los mejores Hechizos para enamorar ahora al descubierto
Pages: [1]   Go Up
  Print  
 
Jump to: