Sujet fermé
Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5

[Résolu] REQUEST_METHOD _POST ne marche pas
#12

Pour le copyright, je ne comprend pas, j'ai bien mis la balise dans les meta (ligne 18 du code HTML), que dois-je rajouter de plus?

voici le .htaccess a la racine du site:
Code :
Options +FollowSymLinks
RewriteEngine on
RewriteBase /

# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]

# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]


Voici la conf apache du site:
Citation :<VirtualHost *:80>
DocumentRoot /home/web/christinedeveyrac.fr/
ServerName christinedeveyrac.fr
ServerAlias www.christinedeveyrac.fr
ServerAlias christinedeveyrac.andrieu.com
ServerAlias www.christinedeveyrac.andrieu.com
<Directory />
#AllowOverride AuthConfig
allow from all
Options +FollowSymLinks
# RewriteEngine on
# RewriteBase /

# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
# RewriteCond %{REQUEST_URI} !/$
# RewriteCond %{REQUEST_URI} !\.
# RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]

# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule ^(.+)$ index.php?page=$1 [QSA]
</Directory>
</VirtualHost>

Effectivement j'ai tout mis en commentaire sur les params du site, mais j'ai oublié le .htaccess
Que me conseil tu de faire comme modif?
Sujet fermé


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)