paki copy and paste po sa .htaccess mo ito
# Do not remove this line, otherwise mod_rewrite rules will stop working
RewriteEngine on
RewriteBase /
# 1 ---- Establish a custom 404 File not Found Page ----
ErrorDocument 400
http://yourdomain/400.php
ErrorDocument 403
http://yourdomain/403.php
ErrorDocument 404
http://yourdomain/404.php
ErrorDocument 500
http://yourdomain/500.php
ErrorDocument 503
http://yourdomain/503.php
# 2 ---- Prevent directory file listing in all of your files
IndexIgnore *
Options +FollowSymlinks
# 3 ---- Adding www ----
RewriteCond %{HTTP_HOST} ^[^.]+\.[^.]+$
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [L,R=301]
AddDefaultCharset UTF-8
Options -Indexes +FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
DirectoryIndex /html/happiness.html
Allow From All
Satisfy Any
php_value upload_max_filesize 1024M
php_value post_max_size 1024M
php_value max_file_uploads 1024M
php_value memory_limit 1024M
php_value max_input_vars 10000
</IfModule>
<FilesMatch "\.(php)$">
php_value auto_append_file none
</FilesMatch>
- - - Updated - - -
yung yourdomain yan yung domain name mo. kung meron k custom error page
- - - Updated - - -
paki post po yung file mo po. para maicorrect po