vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   Install Guide (https://vborg.vbsupport.ru/showthread.php?t=319232)

DemOnstar 07-16-2015 06:36 AM

1 Attachment(s)
Hello there. . .

https://vborg.vbsupport.ru/attachmen...1&d=1437035717

Thanks again.

PS: I notice in the config.php the port number is different 3600 I think.

Zachery 07-16-2015 11:33 PM

You probably have one of two things:

1. apache doesn't have .htaccess files allowed, or its rules.
2. mod_rewrite isn't turned on.

AllowOverride All can be added for your localhost, but this is a configuration issue. Not a vBulletin one.

DemOnstar 07-16-2015 11:57 PM

Okay, so this is what my .htaccess looks like. It is default apart from the red highlight that was suggested.

Code:

<IfModule mod_rewrite.c>
        RewriteEngine On
        AllowOverride All

        #In some cases where you have other mod_rewrite rules, you may need to comment out the following line
        #and change it to match your folder name. This resets the other mod_rewrite rules for just this directory
        #If your site was www.example.com/forum, the setting would be /forum/
        #RewriteBase /

        # Send css calls directly to the correct file VBV-7807
        RewriteRule ^css.php$ core/css.php [NC,L]

        # Redirect old install path to core.
        RewriteRule ^install/ core/install/ [NC,L]

        # Main Redirect
        RewriteCond %{REQUEST_URI} !\.(gif|jpg|jpeg|png|css)$
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ index.php?routestring=$1 [L,QSA]

        # Because admincp is an actual directory.
        RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]

</IfModule>

<IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE application/atom+xml \
                          text/javascript \
                          application/x-javascript \
                          application/javascript \
                          application/json \
                          application/rss+xml \
                          application/vnd.ms-fontobject \
                          application/x-font-ttf \
                          application/xhtml+xml \
                          application/xml \
                          font/opentype \
                          image/svg+xml \
                          image/x-icon \
                          text/css \
                          text/html \
                          text/plain \
                          text/x-component \
                          text/xml
</IfModule>

<IfModule mod_expires.c>
        ExpiresActive On
        ExpiresByType application/x-javascript A1209600
        ExpiresByType text/javascript A1209600
        ExpiresByType application/javascript A1209600
        ExpiresByType text/css A31536000
        ExpiresByType image/x-icon A2592000
        ExpiresByType image/icon A2592000
        ExpiresByType application/x-ico A2592000
        ExpiresByType application/ico A2592000
        ExpiresByType image/gif A2592000
        ExpiresByType image/jpeg A1209600
        ExpiresByType image/jpg A1209600
        ExpiresByType image/png A1209600
        ExpiresByType application/x-shockwave-flash A1209600
        ExpiresByType font/ttf A2592000
        ExpiresByType font/otf A2592000
        ExpiresByType font/x-woff A2592000
        ExpiresByType image/svg+xml A2592000
        ExpiresByType font/truetype A2592000
        ExpiresByType font/opentype A2592000
        ExpiresByType application/x-font-woff A2592000
        ExpiresByType application/vnd.ms-fontobject A2592000
</IfModule>

<IfModule mod_headers.c>
    Header set Connection keep-alive
        <filesmatch "\.(ico|flv|gif|swf|eot|woff|otf|ttf|svg)$">
                Header set Cache-Control "max-age=2592000, public"
        </filesmatch>
        <filesmatch "\.(jpg|jpeg|png)$">
                Header set Cache-Control "max-age=1209600, public"
        </filesmatch>
        <filesmatch "\.(eot|woff|otf|ttf|svg)$">
                Header set Cache-Control "max-age=2592000, public"
        </filesmatch>
        # css and js should use private for proxy caching https://developers.google.com/speed/docs/best-practices/caching#LeverageProxyCaching
        <filesmatch "\.(css)$">
                Header set Cache-Control "max-age=31536000, private"
        </filesmatch>
        <filesmatch "\.(js)$">
                Header set Cache-Control "max-age=1209600, private"
        </filesmatch>
</IfModule>

I have added AllowOverride All and still the same result.
Maybe I have added it in the wrong place?
Apache module is set to rewrite_module.

Zachery 07-17-2015 09:39 AM

Sorry, the AllowOverride needs to be set in the apache config or the vhost, and then apache needs to be restarted.

DemOnstar 07-17-2015 12:11 PM

Quote:

Originally Posted by Zachery (Post 2550432)
Sorry, the AllowOverride needs to be set in the apache config or the vhost, and then apache needs to be restarted.

Is that a service or a module in Apache?

I don't know where this is going or how to get there. :D

Giving up. :confused:

Thanks anyway.........

Tired of it now. . . .

Zachery 07-17-2015 08:39 PM

That would be in the actual apache httpd.conf or your vhost conf file.

DemOnstar 07-18-2015 12:17 AM

Thanks, I found that whilst I was looking around.
I will try it now.

DemOnstar 07-18-2015 12:27 AM

1 Attachment(s)
I found it but have no idea. I see Allowoveride occurs twice in the attached file.

Could you spend a minute please. Thanks.

Zachery 07-18-2015 12:52 AM

1 Attachment(s)
Give this a try.

DemOnstar 07-19-2015 10:35 PM

Nope. Nothing going with that one either.
Tell you what. If I give you the creds for my host, would you be willing to take down my old site and replace it with the new vb 5?
I have made a copy of all the files on the site and db and uploaded the necessary files so no worries, the whole lot can come down, I don't care that much, I just want to test it out.


All times are GMT. The time now is 12:59 PM.

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.01067 seconds
  • Memory Usage 1,749KB
  • 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)bbcode_code_printable
  • (1)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
  • (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