vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Is this recommended to do ?? how it helps ?? (https://vborg.vbsupport.ru/showthread.php?t=209559)

TECK 05-06-2009 04:31 AM

<i>To begin, ensure your forums/clientscript/vbulletin_css directory is chmod 777 so the stylesheet files can be created.</i>
I hope you will NEVER do something like that... open wide your site to hackers.
And you wonder why people post that they got hacked by kiddie scripts that execute inside /tmp dirs...

Dismounted 05-06-2009 06:48 AM

Quote:

Originally Posted by mariocaz (Post 1805121)
Ok also I want to ask you, I have a CubeCart only store in that server the XCache will affect the online store ?? do I have to put a prefix in the config.php for that ??

Just use a prefix anyway - its just good practise.
Quote:

Originally Posted by mariocaz (Post 1805121)
And finally do I have to change again the permissions in the folder ? /includes/datastore/datastore_cache.php

If you're using XCache, there is no need for any kind of folder permissions - that is only needed if you're using the File caching method.

mariocaz 05-06-2009 02:37 PM

Thank you great Dismounted, perfect, I will put the prefix in the config.php file and finally do I change the permissions of the folder ? /includes/datastore/datastore_cache.php Right now is 777 but maybe for protection of my forum I have to change that again, if yes please tell me the correct permissions tu put again in that folder.

So this step is very insecure ?? , now I am very worried because TECK told me that. (thank you!)

Quote:

1. Store CSS StyleSheets as Files

By default, vBulletin will store the CSS of your pages as HTML within the head of the document. This, when taken over thousands of pages, can be quite a heavy burden.

Storing CSS Stylesheets as files will allow users/spiders to cache the CSS as a file, and make each page smaller, HTML wise, giving your server a bit of a breather.

To begin, ensure your forums/clientscript/vbulletin_css directory is chmod 777 so the stylesheet files can be created.
Next, in the AdminCP, select the vBulletin Options menu then vBulletin Options.
Select Style and Language Options.
Set "Store CSS Stylesheets as Files?" to Yes.
Click Submit.
Because I did it and have the permission in that folder (/clientscript/vbulletin_css) to 777, so I have to change it urgently ?? and also go to my ACP and put NO in the Set "Store CSS Stylesheets as Files option.

Thank you again for all your awesome help.

Dismounted 05-07-2009 06:46 AM

Directories should be 755, and files 644.

If the server is set up correctly, you can still use "Store CSS Stylesheets as Files".

mariocaz 05-07-2009 06:15 PM

Thank you for all your Awesome help Dismounted!!!

I will tell today to my Hosting that please install XCache in the server.

One final question, do I have to do the changes in config.php before to the XCache is installed to prevent that my forum go down or I can do it after the XCache is installed in the server ?

Cheers!!

mariocaz 05-08-2009 10:07 PM

Tahnk you so much Dismounted I have installed XCache and I see my forum with more speed.

I uninstalled the eAccelerator in the server becasue it was caused conflicts with XCache installed.


All times are GMT. The time now is 09:42 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01139 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete