No announcement yet.

I can not access any subfolder

  • Filter
  • Time
  • Show
Clear All
new posts

  • Emad ELsayed
    Thank you

    Leave a comment:

  • Mark.B
    As Wayne said, you need to speak to your server administrator. This is outside the scope of our support.

    Leave a comment:

  • Emad ELsayed
    Any Help ...

    Leave a comment:

  • Emad ELsayed
    Thank you Wayne Luke
    Could you help me with that
    I have a folder named games
    How to do it

    Leave a comment:

  • Wayne Luke
    If you have extra folders in your vBulletin directory, you will need to create overrides in the .htaccess file like there is for the admincp folder. Otherwise everything will be routed to index.php as the system is designed.

    Like this:
    # Because admincp is an actual directory.
    RewriteRule ^(admincp/)$ index.php?routestring=$1 [L,QSA]
    You'll need to have one for each and every folder and modify it to route to the proper entry point. You server administrator can help you handle this.

    Leave a comment:

  • Emad ELsayed
    Hello dear
    The problem appear during access to any subfolder created manually.
    I want to solve this problem

    When renamed htaccess everything works perfectly

    <IfModule mod_rewrite.c>
    RewriteEngine On

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

    #To redirect users to the secure version of your site, uncomment the lines below
    #RewriteCond %{HTTPS} !=on
    #RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]

    RewriteCond %{HTTP_HOST} ^www\. [OR]
    RewriteCond %{HTTPS} off
    RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$
    RewriteRule ^ https://%1%{REQUEST_URI} [NE,L,R]

    # 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 mod_deflate.c>
    AddOutputFilterByType DEFLATE application/atom+xml \
    text/javascript \
    application/x-javascript \
    application/javascript \
    application/json \
    application/rss+xml \
    application/ \
    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 \

    <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/ A2592000

    <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 "\.(jpg|jpeg|png)$">
    Header set Cache-Control "max-age=1209600, public"
    <filesmatch "\.(eot|woff|otf|ttf|svg)$">
    Header set Cache-Control "max-age=2592000, public"
    # css and js should use private for proxy caching
    <filesmatch "\.(css)$">
    Header set Cache-Control "max-age=31536000, private"
    <filesmatch "\.(js)$">
    Header set Cache-Control "max-age=1209600, private"

    #don't allow some files that shouldn't really be present to be directly accessed.
    #note that attachements should never be directly accessed by the webserver because
    #we have permissions on the that are checked in the PHP code.
    <FilesMatch "(^#.*#|\.(bak|config|dist|inc|ini|log|gz|tar|zip|sh|sql|sw[op])|~)$">
    Order allow,deny
    Deny from all
    Satisfy All
    php version 7.0.28
    MySQL 5.6.38

    Best Regards
    Last edited by Emad ELsayed; Mon 19 Mar '18, 3:19am.

    Leave a comment:

  • Trevor Hannant
    Looking at your site, you've nothing that uses sub-folders on your site. are these manually created directories that you've added to your server?

    Leave a comment:

  • Emad ELsayed
    started a topic I can not access any subfolder

    I can not access any subfolder

    myforum has the main directory to this path
    I can not access any subfolder
    This message appears
    Invalid Page URL. If this is an error and the page should exist, please contact the system administrator and tell them how you got this message.

Related Topics