working with .htacess
how to edit htaccess to be allowed to work witth other folders?
like i cannot access forum folder , keep giving 404 not found so , how to add permession to forum folder inside the htaccess
like i cannot access forum folder , keep giving 404 not found so , how to add permession to forum folder inside the htaccess
almost 3 weeks and no one has helped ?
could someone just take a look please?
could someone just take a look please?
Hi,amr wrote:almost 3 weeks and no one has helped ?
could someone just take a look please?
you can search the solution on Google or in other forums because is a subject about Apache webserver.
Here is a simple search on Google:
https://www.google.com.ar/search?num=40 ... =733&dpr=2
About the Apache htaccess:
https://httpd.apache.org/docs/current/h ... ccess.html
Stackoverflow nice forum:
http://stackoverflow.com/search?q=httaccess
Search on the forum, may be there are some user who has the same problem:
search.php?keywords=htaccess&terms=all& ... mit=Search
Regards
Diego
Dear @Eid and @Diego
ive tried everything ,all i need to do is add a folder forum into the bludit .htaccess file
ive tried everything ,all i need to do is add a folder forum into the bludit .htaccess file
AddDefaultCharset UTF-8
<IfModule mod_rewrite.c>
# Enable rewrite rules
RewriteEngine on
# Deny direct access to .txt files
RewriteRule ^bl-content/(.*)\.txt$ - [R=404,L]
# All URL process by index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) index.php [PT,L]
</IfModule>
<IfModule mod_rewrite.c>
# Enable rewrite rules
RewriteEngine on
# Deny direct access to .txt files
RewriteRule ^bl-content/(.*)\.txt$ - [R=404,L]
# All URL process by index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) index.php [PT,L]
</IfModule>
try with this htaccess, check the name of your forum folder.
Code: Select all
AddDefaultCharset UTF-8
<IfModule mod_rewrite.c>
# Enable rewrite rules
RewriteEngine on
# Forum
RewriteRule ^forum /forum/index.php [L]
# Deny direct access to .txt files
RewriteRule ^bl-content/(.*)\.txt$ - [R=404,L]
# All URL process by index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*) index.php [PT,L]
</IfModule>
thanks ! worked fine