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!

Can't Upload My HTML Website Help! Patulong

fallenmacky

Novice
Advanced Member
Messages
24
Reaction score
0
Points
26
nagawa ko na un ininstruct na .htaccess na kailangan ko.. pero may problem padin.. nasubukan ko nun ilan beses gumana sya pero nka folder sya sa index. tapos ayaw nanaman gumana after ilan palit ko sa .htaccess commands. Ano po kaya problema? ilan araw na masakit ulo ko kaka search sa google. *Pati mga error and mali sa codes sa html files ko na passed ko na.. Thanks GuyS!


Eto po nasa pic un problem ng server! Thanks!
View attachment 260676 View attachment 260709
 

Attachments

  • 1.png
    1.png
    97 KB · Views: 41
  • 2.png
    2.png
    61.5 KB · Views: 23
Last edited:

Attachments

  • 1.png
    1.png
    97 KB · Views: 6
  • 2.png
    2.png
    61.5 KB · Views: 5
Last edited:
pwede po bang malaman kung ano nilagay mo sa .htacces mo?..
or
html files mo baka po wala sa loob ng public_html?..
or
sa .htaccess
add ka po ng Options All -Indexes
 
# 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
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>
 
i see. wala ka index.html so na ka DirectoryIndex.

DirectoryIndex index.php index.html

# Example A: Set index.html as an index page, then add index.php to that list as well.
<Directory /foo>
DirectoryIndex index.html
DirectoryIndex index.php
</Directory>

# Example B: This is identical to example A, except it's done with a single directive.
<Directory /foo>
DirectoryIndex index.html index.php
</Directory>
 
solved na ba to?


Sir Pasensya ngaun ko lang nakita busy sa work. Icheck ko pa lang sir.. salamat!!!

sir ano un index.html? gagawa ako ng bagong html and un dapat ang nsa labas ng folder? and ano laman dapat nun index.html? Thanks Thanks Sir!


** Sir nasubukan ko na iedit un .htaccess ko. Nilagay ko yan naka saad sa reply mo. Pero ayaw padin..

Actual Picture of Files and Folders
View attachment 260999View attachment 261007View attachment 261001View attachment 261003
 

Attachments

  • 1.png
    1.png
    109.8 KB · Views: 5
  • 2.png
    2.png
    48.1 KB · Views: 4
  • 3.png
    3.png
    81.2 KB · Views: 3
  • 4.png
    4.png
    25.6 KB · Views: 5
Last edited:
# 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 - - -

paki try na po yang gawa ko po ngaun. nasa loob ka po kasi ng html(Folder) yung mga .html files mo.
 
# 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 - - -

paki try na po yang gawa ko po ngaun. nasa loob ka po kasi ng html(Folder) yung mga .html files mo.

Sir Still the same.. Ayaw padin gumana ng codes mo.. ano kaya best way na gawin.. Sakit na ng ulo ko kakaisip.. Thanks in advance!
View attachment 261000View attachment 261002View attachment 261008View attachment 261045
 

Attachments

  • 1.png
    1.png
    109.8 KB · Views: 5
  • 2.png
    2.png
    48.1 KB · Views: 4
  • 3.png
    3.png
    81.2 KB · Views: 5
  • 4.png
    4.png
    25.6 KB · Views: 5
  • 4.png
    4.png
    49.1 KB · Views: 5
Last edited:
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
 
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


Sir ayaw padin gumana ng codes na binigay mo.. any idea ano kaya error ko??
sir eto po pic ng laman ng folder ko and format.. Pasensya d ko maipost un folder mismo.. Thanks
(Hindi ko ma attach un picture mismo ng folder ko sir.. teka.. pasensya na!)
 
Last edited:
Back
Top Bottom