vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Where is the .htaccess file? (https://vborg.vbsupport.ru/showthread.php?t=124901)

spandexman 08-25-2006 03:13 PM

Where is the .htaccess file?
 
I need to edit the max upload file size and I read you need to edit the .htaccess file to do this. Where is this file?

jcr 08-25-2006 03:19 PM

That is not correct. To change the max upload file size you can do it via Admincp under "attachments"

.htaccess is normally placed in the root folder of your site. It it is not, you can however just make a file in notepad, save it as .htaccess and thats it.

But it does not help you with your cause.

If you want to change the upload limit on your server, you should take it up with your hosting provider.

ConqSoft 08-25-2006 03:21 PM

If you don't have a .htaccess, just create one. It's a plain text file.

Try adding this to it:

php_value upload_max_filesize 100M
php_value post_max_size 100M

(Adjust sizes to the max. you wish to set, in megabytes.)

jcr 08-25-2006 03:23 PM

Conqsoft: Will this work even though the upload limit is set to 8 ( as it usually is in php.ini ? )

ConqSoft 08-25-2006 03:24 PM

It depends on how the host has it set up. If it's set to allow the .htaccess to override, then it should. It's easy to test. Just create it, put it in your forums directory, and check your AdminCP Quick Stats to see if the Max Post Size increases.

spandexman 08-25-2006 04:04 PM

I'm using this for the ecdownloads mod.

I created the .htaccess file and put it in my root folder but under quick stats max post and upload size is still 8megs. Any other way to change that value?

ConqSoft 08-25-2006 04:07 PM

If .htaccess rules don't work, your host will need to change the settings in PHP.INI for you.

spandexman 08-25-2006 04:38 PM

Do I need to put anything in front of the .htaccess file name? Like x.htaccess?

What would I tell my host to change in the PHP.INI settings? Just say change the max post and filesize to X megs?

Ntfu2 08-25-2006 04:43 PM

no its simply .htaccess if you are on a linux host. If you are on windows, i dont think it supports .htaccess.

If 8M is not enough of a upload for you, then yes you'll have to request that your host increases the size to something, i'd ask for 15M most hosting companies wont go to far beyond that. Chances are good though, depending on your host you'll be stuck with 8M

spandexman 08-25-2006 04:59 PM

I'm using linux.

Why would your host care how big you let people upload files? Its your bandwidth and space. When I ftp my host I can upload a few hundred megs, so why would using the forum be any different?


All times are GMT. The time now is 01:13 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.01000 seconds
  • Memory Usage 1,723KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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