Beste bezoeker,

Wij werken met een klein groepje.
Het kan zijn dat u na het plaatsen van een bericht even moet wachten op hulp of op een antwoord,
blijf daarom gerust posten we zullen z.s.m. en wanneer het kan reageren.

Voor dringende zaken die echt niet kunnen wachten kunt u het contactformulier gebruiken.

-------------------------------------

Wanneer u ons forum bezoekt voor hulp bij installatie, vragen wij u een account aan te maken en geen gebruik te maken van het contactformulier.

Wij kunnen u beter helpen wanneer u een account aanmaakt en u in het volgende onderwerp phpBB en Extensie installatie en aanpassingen laten uitvoeren een nieuw onderwerp start.

Ook wanneer u ergens niet uitkomt of vragen heeft, vragen wij u gebruik te maken van 1 van de bestaande "support onderwerpen" en aldaar uw onderwerp te starten.

Waneer u een account aanmaakt kan het zijn dat de activatie email terecht komt in de spamfolder.
  • Verplaats deze terug naar uw postvak-in en klik op de activatie link, hierna is uw account geactiveerd en kunt u inloggen op het forum.

Met vriendelijke groet,

Team phpBBservice.nl
(steeds tot uw dienst)

URL Rewrite vraag

Plaats reactie

Auteur
Liz
Donateur
Donateur
Berichten in topic: 4
Berichten: 23
Lid geworden op: 23 feb 2015 21:48
Verstuurde bedankjes: 1 keer
Ontvangen bedankjes: 3 keren

URL Rewrite vraag

Bericht door Liz » 05 apr 2015 14:45

Hallo,

Ik heb de phpBB SEO extensie geïnstalleerd maar krijg de .htaccess niet goed; het forum draait op de locatie /forum en ik weet niet hoe ik dat instel in de .htaccess welke er zo uit ziet:

Code: Selecteer alles

<IfModule mod_rewrite.c>
     # You may need to un-comment the following lines
     # Options +FollowSymlinks
     # To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
     # Options -MultiViews
     # REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
     RewriteEngine On

     # Uncomment the statement below if you want to make use of
     # HTTP authentication and it does not already work.
     # This could be required if you are for example using PHP via Apache CGI.
     # RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

     # REWRITE BASE
     RewriteBase /

     # HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN
     # Define fully qualified ssl aware protocol
     # RewriteCond %{SERVER_PORT}s ^(443(s)|[0-9]+s)$
     # RewriteRule ^.*$ - [env=HttpFullProto:http%2://]
     # RewriteCond %{HTTP_HOST} !^www\.photoshop-tutorials\.nl$ [NC]
     # RewriteRule ^(.*)$ %{ENV:HttpFullProto}www.photoshop-tutorials.nl/$1 [QSA,L,R=301]

     # DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
     RewriteCond %{REQUEST_FILENAME} -f [OR]
     RewriteCond %{REQUEST_FILENAME} -d
     RewriteRule . - [L]
     # FORUM INDEX
     RewriteRule ^forum\.html$ /forum/index.php [QSA,L,NC]
     # FORUM ALL MODES
     RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/?(page([0-9]+)\.html)?$ /forum/viewforum.php?f=$2&start=$4 [QSA,L,NC]
     # TOPIC WITH VIRTUAL FOLDER ALL MODES
     RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
     # TOPIC WITHOUT FORUM ID & DELIM ALL MODES
     RewriteRule ^([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
     # PROFILES THROUGH USERNAME
     RewriteRule ^member/([^/]+)/?$ /forum/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
     # USER MESSAGES THROUGH USERNAME
     RewriteRule ^member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /forum/search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
     # GROUPS ALL MODES
     RewriteRule ^(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /forum/memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
     # POSTS
     RewriteRule ^post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC]
     # ACTIVE TOPICS
     RewriteRule ^active-topics(-([0-9]+))?\.html$ /forum/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
     # UNANSWERED TOPICS
     RewriteRule ^unanswered(-([0-9]+))?\.html$ /forum/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
     # NEW POSTS
     RewriteRule ^newposts(-([0-9]+))?\.html$ /forum/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
     # UNREAD POSTS
     RewriteRule ^unreadposts(-([0-9]+))?\.html$ /forum/search.php?search_id=unreadposts&start=$2 [QSA,L,NC]
     # THE TEAM
     RewriteRule ^the-team\.html$ /forum/memberlist.php?mode=team [QSA,L,NC]
     # HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES
     
     # FORUM WITHOUT ID & DELIM ALL MODES
     # THESE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteRule ^([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ /forum/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
     # FIX RELATIVE PATHS : FILES
     RewriteRule ^.+/(style\.php|ucp\.php|mcp\.php|faq\.php|posting\.php|download/file\.php|report\.php|adm/index\.php|cron\.php)$ /forum/$1 [QSA,L,NC]
     # FIX RELATIVE PATHS : IMAGES
     RewriteRule ^.+/(styles/.*|images/.*|assets/.*|ext/.*)$ /forum/$1 [QSA,L,NC]
     #
     # The following 3 lines will rewrite URLs passed through the front controller
     # to not require app.php in the actual URL. In other words, a controller is
     # by default accessed at /app.php/my/controller, but can also be accessed at
     # /my/controller
     #
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteRule ^(.*)$ /forum/app.php [QSA,L]

</IfModule>

# With Apache 2.4 the "Order, Deny" syntax has been deprecated and moved from
# module mod_authz_host to a new module called mod_access_compat (which may be
# disabled) and a new "Require" syntax has been introduced to mod_authz_host.
# We could just conditionally provide both versions, but unfortunately Apache
# does not explicitly tell us its version if the module mod_version is not
# available. In this case, we check for the availability of module
# mod_authz_core (which should be on 2.4 or higher only) as a best guess.
<IfModule mod_version.c>
     <IfVersion < 2.4>
          <Files "config.php">
               Order Allow,Deny
               Deny from All
          </Files>
          <Files "common.php">
               Order Allow,Deny
               Deny from All
          </Files>
     </IfVersion>
     <IfVersion >= 2.4>
          <Files "config.php">
               Require all denied
          </Files>
          <Files "common.php">
               Require all denied
          </Files>
     </IfVersion>
</IfModule>
<IfModule !mod_version.c>
     <IfModule !mod_authz_core.c>
          <Files "config.php">
               Order Allow,Deny
               Deny from All
          </Files>
          <Files "common.php">
               Order Allow,Deny
               Deny from All
          </Files>
     </IfModule>
     <IfModule mod_authz_core.c>
          <Files "config.php">
               Require all denied
          </Files>
          <Files "common.php">
               Require all denied
          </Files>
     </IfModule>
</IfModule> 
Iemand een idee?


Raimon
Vorig TeamLid
Berichten in topic: 3
Berichten: 7673
Lid geworden op: 07 apr 2006 11:10
Locatie: http://www.raimon.nl
Contacteer:

Re: URL Rewrite vraag

Bericht door Raimon » 05 apr 2015 15:54

Welke phpBB SEO extensie heb je gebruikt?
En hoezo krijg je de .htaccess niet werkend, krijg je dan foutmelding of wat precies?
Gratis phpBB installatie of MODs/extensions hulp nodig? Bezoek http://www.raimon.nl/forums/


Auteur
Liz
Donateur
Donateur
Berichten in topic: 4
Berichten: 23
Lid geworden op: 23 feb 2015 21:48
Verstuurde bedankjes: 1 keer
Ontvangen bedankjes: 3 keren

Re: URL Rewrite vraag

Bericht door Liz » 05 apr 2015 16:06

Raimon schreef:Welke phpBB SEO extensie heb je gebruikt?
En hoezo krijg je de .htaccess niet werkend, krijg je dan foutmelding of wat precies?
Ik krijg hem wel geplaatst maar hij geeft dus niet de goede linken.

Deze gebruik ik: github.com/phpBBSEO/usu


Raimon
Vorig TeamLid
Berichten in topic: 3
Berichten: 7673
Lid geworden op: 07 apr 2006 11:10
Locatie: http://www.raimon.nl
Contacteer:

Re: URL Rewrite vraag

Bericht door Raimon » 05 apr 2015 16:12

En wat voor linken krijgen je nu dan, heb je misschien een link naar het forum voor ons?
En hoe kom je aan deze .htaccess, heb je die gegeneerd via het beheerderspaneel, en je hebt deze wel in de hoofdmap van je site gezet en niet in de phpBB-map?
Gratis phpBB installatie of MODs/extensions hulp nodig? Bezoek http://www.raimon.nl/forums/


Auteur
Liz
Donateur
Donateur
Berichten in topic: 4
Berichten: 23
Lid geworden op: 23 feb 2015 21:48
Verstuurde bedankjes: 1 keer
Ontvangen bedankjes: 3 keren

Re: URL Rewrite vraag

Bericht door Liz » 06 apr 2015 11:07

Raimon schreef:En wat voor linken krijgen je nu dan, heb je misschien een link naar het forum voor ons?
En hoe kom je aan deze .htaccess, heb je die gegeneerd via het beheerderspaneel, en je hebt deze wel in de hoofdmap van je site gezet en niet in de phpBB-map?
Linken zoals /the-team.html zonder /forum ervoor.
Hij is gemaakt via het beheerderspaneel inderdaad ontvangen/gemaakt/whatecer en hij staat in de hoofdmap (/root/)
Is nu weer uit trouwens, link naar het forum: http://www.photoshop-tutorials.nl/forum

Code: Selecteer alles

<IfModule mod_rewrite.c>
     # You may need to un-comment the following lines
     # Options +FollowSymlinks
     # To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
     # Options -MultiViews
     # REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
     RewriteEngine On

     # Uncomment the statement below if you want to make use of
     # HTTP authentication and it does not already work.
     # This could be required if you are for example using PHP via Apache CGI.
     # RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

     # REWRITE BASE
     RewriteBase /

     # HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN
     # Define fully qualified ssl aware protocol
     # RewriteCond %{SERVER_PORT}s ^(443(s)|[0-9]+s)$
     # RewriteRule ^.*$ - [env=HttpFullProto:http%2://]
     # RewriteCond %{HTTP_HOST} !^www\.photoshop-tutorials\.nl$ [NC]
     # RewriteRule ^(.*)$ %{ENV:HttpFullProto}www.photoshop-tutorials.nl/$1 [QSA,L,R=301]

     # DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
     RewriteCond %{REQUEST_FILENAME} -f [OR]
     RewriteCond %{REQUEST_FILENAME} -d
     RewriteRule . - [L]
     # FORUM INDEX
     RewriteRule ^forum\.html$ /forum/index.php [QSA,L,NC]
     # FORUM ALL MODES
     RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/?(page([0-9]+)\.html)?$ /forum/viewforum.php?f=$2&start=$4 [QSA,L,NC]
     # TOPIC WITH VIRTUAL FOLDER ALL MODES
     RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
     # TOPIC WITHOUT FORUM ID & DELIM ALL MODES
     RewriteRule ^([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
     # PROFILES THROUGH USERNAME
     RewriteRule ^member/([^/]+)/?$ /forum/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
     # USER MESSAGES THROUGH USERNAME
     RewriteRule ^member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ /forum/search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
     # GROUPS ALL MODES
     RewriteRule ^(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ /forum/memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
     # POSTS
     RewriteRule ^post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC]
     # ACTIVE TOPICS
     RewriteRule ^active-topics(-([0-9]+))?\.html$ /forum/search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
     # UNANSWERED TOPICS
     RewriteRule ^unanswered(-([0-9]+))?\.html$ /forum/search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
     # NEW POSTS
     RewriteRule ^newposts(-([0-9]+))?\.html$ /forum/search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
     # UNREAD POSTS
     RewriteRule ^unreadposts(-([0-9]+))?\.html$ /forum/search.php?search_id=unreadposts&start=$2 [QSA,L,NC]
     # THE TEAM
     RewriteRule ^the-team\.html$ /forum/memberlist.php?mode=team [QSA,L,NC]
     # HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES
     
     # FORUM WITHOUT ID & DELIM ALL MODES
     # THESE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteRule ^([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ /forum/viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
     # FIX RELATIVE PATHS : FILES
     RewriteRule ^.+/(style\.php|ucp\.php|mcp\.php|faq\.php|posting\.php|download/file\.php|report\.php|adm/index\.php|cron\.php)$ /forum/$1 [QSA,L,NC]
     # FIX RELATIVE PATHS : IMAGES
     RewriteRule ^.+/(styles/.*|images/.*|assets/.*|ext/.*)$ /forum/$1 [QSA,L,NC]
     #
     # The following 3 lines will rewrite URLs passed through the front controller
     # to not require app.php in the actual URL. In other words, a controller is
     # by default accessed at /app.php/my/controller, but can also be accessed at
     # /my/controller
     #
     RewriteCond %{REQUEST_FILENAME} !-f
     RewriteCond %{REQUEST_FILENAME} !-d
     RewriteRule ^(.*)$ /forum/app.php [QSA,L]

</IfModule>

# With Apache 2.4 the "Order, Deny" syntax has been deprecated and moved from
# module mod_authz_host to a new module called mod_access_compat (which may be
# disabled) and a new "Require" syntax has been introduced to mod_authz_host.
# We could just conditionally provide both versions, but unfortunately Apache
# does not explicitly tell us its version if the module mod_version is not
# available. In this case, we check for the availability of module
# mod_authz_core (which should be on 2.4 or higher only) as a best guess.
<IfModule mod_version.c>
     <IfVersion < 2.4>
          <Files "config.php">
               Order Allow,Deny
               Deny from All
          </Files>
          <Files "common.php">
               Order Allow,Deny
               Deny from All
          </Files>
     </IfVersion>
     <IfVersion >= 2.4>
          <Files "config.php">
               Require all denied
          </Files>
          <Files "common.php">
               Require all denied
          </Files>
     </IfVersion>
</IfModule>
<IfModule !mod_version.c>
     <IfModule !mod_authz_core.c>
          <Files "config.php">
               Order Allow,Deny
               Deny from All
          </Files>
          <Files "common.php">
               Order Allow,Deny
               Deny from All
          </Files>
     </IfModule>
     <IfModule mod_authz_core.c>
          <Files "config.php">
               Require all denied
          </Files>
          <Files "common.php">
               Require all denied
          </Files>
     </IfModule>
</IfModule> 
Zou graag willen weten waar de fout zit.


Raimon
Vorig TeamLid
Berichten in topic: 3
Berichten: 7673
Lid geworden op: 07 apr 2006 11:10
Locatie: http://www.raimon.nl
Contacteer:

Re: URL Rewrite vraag

Bericht door Raimon » 06 apr 2015 19:38

Doe het volgende eens;

Ga naar je phpBB-beheerderspaneel
Klik op het tabblad phpBB SEO
Vervolgens bij;

"If phpBB is installed in a sub folder (example phpBB3/), you can simulate a root install for rewritten links." zet je het selectievakje op nee.

Vervolgens maak je een .htaccess-bestand aan en zet je het volgende erin;

Code: Selecteer alles

     <IfModule mod_rewrite.c>
         # You may need to un-comment the following lines
         # Options +FollowSymlinks
         # To make sure that rewritten dir or file (/|.html) will not load dir.php in case it exist
         # Options -MultiViews
         # REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
         RewriteEngine On

         # Uncomment the statement below if you want to make use of
         # HTTP authentication and it does not already work.
         # This could be required if you are for example using PHP via Apache CGI.
         # RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

         # REWRITE BASE
         RewriteBase /forum/

         # HERE IS A GOOD PLACE TO FORCE CANONICAL DOMAIN
         # Define fully qualified ssl aware protocol
         # RewriteCond %{SERVER_PORT}s ^(443(s)|[0-9]+s)$
         # RewriteRule ^.*$ - [env=HttpFullProto:http%2://]
         # RewriteCond %{HTTP_HOST} !^www\.photoshop-tutorials\.nl$ [NC]
         # RewriteRule ^(.*)$ %{ENV:HttpFullProto}www.photoshop-tutorials.nl/forum/$1 [QSA,L,R=301]

         # DO NOT GO FURTHER IF THE REQUESTED FILE / DIR DOES EXISTS
         RewriteCond %{REQUEST_FILENAME} -f [OR]
         RewriteCond %{REQUEST_FILENAME} -d
         RewriteRule . - [L]
         # FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX
         # RewriteRule ^forum\.html$ index.php [QSA,L,NC]
         # FORUM ALL MODES
         RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/?(page([0-9]+)\.html)?$ viewforum.php?f=$2&start=$4 [QSA,L,NC]
         # TOPIC WITH VIRTUAL FOLDER ALL MODES
         RewriteRule ^(forum|[a-z0-9_-]*-f)([0-9]+)/(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?f=$2&t=$4&start=$6 [QSA,L,NC]
         # TOPIC WITHOUT FORUM ID & DELIM ALL MODES
         RewriteRule ^([a-z0-9_-]*)/?(topic|[a-z0-9_-]*-t)([0-9]+)(-([0-9]+))?\.html$ viewtopic.php?forum_uri=$1&t=$3&start=$5 [QSA,L,NC]
         # PROFILES THROUGH USERNAME
         RewriteRule ^member/([^/]+)/?$ memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
         # USER MESSAGES THROUGH USERNAME
         RewriteRule ^member/([^/]+)/(topics|posts)/?(page([0-9]+)\.html)?$ search.php?author=$1&sr=$2&start=$4 [QSA,L,NC]
         # GROUPS ALL MODES
         RewriteRule ^(group|[a-z0-9_-]*-g)([0-9]+)(-([0-9]+))?\.html$ memberlist.php?mode=group&g=$2&start=$4 [QSA,L,NC]
         # POSTS
         RewriteRule ^post([0-9]+)\.html$ viewtopic.php?p=$1 [QSA,L,NC]
         # ACTIVE TOPICS
         RewriteRule ^active-topics(-([0-9]+))?\.html$ search.php?search_id=active_topics&start=$2&sr=topics [QSA,L,NC]
         # UNANSWERED TOPICS
         RewriteRule ^unanswered(-([0-9]+))?\.html$ search.php?search_id=unanswered&start=$2&sr=topics [QSA,L,NC]
         # NEW POSTS
         RewriteRule ^newposts(-([0-9]+))?\.html$ search.php?search_id=newposts&start=$2&sr=topics [QSA,L,NC]
         # UNREAD POSTS
         RewriteRule ^unreadposts(-([0-9]+))?\.html$ search.php?search_id=unreadposts&start=$2 [QSA,L,NC]
         # THE TEAM
         RewriteRule ^the-team\.html$ memberlist.php?mode=team [QSA,L,NC]
         # HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES
         
         # FORUM WITHOUT ID & DELIM ALL MODES
         # THESE LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
         RewriteCond %{REQUEST_FILENAME} !-f
         RewriteCond %{REQUEST_FILENAME} !-d
         RewriteRule ^([a-z0-9_-]+)/?(page([0-9]+)\.html)?$ viewforum.php?forum_uri=$1&start=$3 [QSA,L,NC]
         # FIX RELATIVE PATHS : FILES
         RewriteRule ^(style\.php|ucp\.php|mcp\.php|faq\.php|posting\.php|download/file\.php|report\.php|adm/index\.php|cron\.php)$ $1 [QSA,L,NC,R=301]
         # FIX RELATIVE PATHS : IMAGES
         RewriteRule ^(styles/.*|images/.*|assets/.*|ext/.*)$ $1 [QSA,L,NC,R=301]
         #
         # The following 3 lines will rewrite URLs passed through the front controller
         # to not require app.php in the actual URL. In other words, a controller is
         # by default accessed at /app.php/my/controller, but can also be accessed at
         # /my/controller
         #
         RewriteCond %{REQUEST_FILENAME} !-f
         RewriteCond %{REQUEST_FILENAME} !-d
         RewriteRule ^(.*)$ app.php [QSA,L]

    </IfModule>

    # With Apache 2.4 the "Order, Deny" syntax has been deprecated and moved from
    # module mod_authz_host to a new module called mod_access_compat (which may be
    # disabled) and a new "Require" syntax has been introduced to mod_authz_host.
    # We could just conditionally provide both versions, but unfortunately Apache
    # does not explicitly tell us its version if the module mod_version is not
    # available. In this case, we check for the availability of module
    # mod_authz_core (which should be on 2.4 or higher only) as a best guess.
    <IfModule mod_version.c>
         <IfVersion < 2.4>
              <Files "config.php">
                   Order Allow,Deny
                   Deny from All
              </Files>
              <Files "common.php">
                   Order Allow,Deny
                   Deny from All
              </Files>
         </IfVersion>
         <IfVersion >= 2.4>
              <Files "config.php">
                   Require all denied
              </Files>
              <Files "common.php">
                   Require all denied
              </Files>
         </IfVersion>
    </IfModule>
    <IfModule !mod_version.c>
         <IfModule !mod_authz_core.c>
              <Files "config.php">
                   Order Allow,Deny
                   Deny from All
              </Files>
              <Files "common.php">
                   Order Allow,Deny
                   Deny from All
              </Files>
         </IfModule>
         <IfModule mod_authz_core.c>
              <Files "config.php">
                   Require all denied
              </Files>
              <Files "common.php">
                   Require all denied
              </Files>
         </IfModule>
    </IfModule>
En daarna upload je het naar je FTP waar al je bestanden van phpBB-staan (dus config.php, memberlist.php, etc.).
Gratis phpBB installatie of MODs/extensions hulp nodig? Bezoek http://www.raimon.nl/forums/


Auteur
Liz
Donateur
Donateur
Berichten in topic: 4
Berichten: 23
Lid geworden op: 23 feb 2015 21:48
Verstuurde bedankjes: 1 keer
Ontvangen bedankjes: 3 keren

Re: URL Rewrite vraag

Bericht door Liz » 06 apr 2015 19:45

Bedankt Raimon!

Plaats reactie