Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Paano po baguhin ang Error 404 ng XAMPP?

TOLITS149

Recruit
Basic Member
Messages
5
Reaction score
0
Points
16
Halimbawa yang error sa baba paano po i-modify para ma-customize yung error page? Anong file/s sa XAMPP ang kailangan hanapin at baguhin para customized yung error page? Thanks po in advance.


----------------------------------------------------------------------------------------------------------------------------------
Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.

Error 404

172.16.1.36
Apache/2.4.10 (Win32) OpenSSL/1.0.1i PHP/5.5.15
----------------------------------------------------------------------------------------------------------------------------------
 
.htacess

# 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 404 http://www.yourdomain.com/404.php
ErrorDocument 401 http://www.yourdomain.com/404.php
ErrorDocument 403 http://www.yourdomain.com/404.php
ErrorDocument 500 http://www.yourdomain.com/404.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
RewriteRule ^([^\.]+)$ $1.php [NC,L]

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>
 
.htacess

# 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 404 http://www.yourdomain.com/404.php
ErrorDocument 401 http://www.yourdomain.com/404.php
ErrorDocument 403 http://www.yourdomain.com/404.php
ErrorDocument 500 http://www.yourdomain.com/404.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
RewriteRule ^([^\.]+)$ $1.php [NC,L]

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>


Ayaw naman po, paano po kaya 'to?
 
Back
Top Bottom