.htaccess file

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked
User avatar

Topic author
liquidspark
Translator
Posts: 27
Joined: 10. February 2008 17:11
Location: New Jersey, USA
Contact:

.htaccess file

Post by liquidspark »

I'm not using an htaccess file right now.

If I make one, should I just use

Code: Select all

DirectoryIndex portal.php index.php index.html index.htm
or should I use

Code: Select all

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
DirectoryIndex portal.php index.php index.html index.htm
:?:

what else should I put in it?
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: .htaccess file

Post by Kevin »

This:

Code: Select all

<Files "config.php">
Order Allow,Deny
Deny from All
</Files>

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>

DirectoryIndex portal.php index.php index.html index.htm
But please note: there was a .htaccess in the original phpBB3 package. Maybe you can't see hidden files with your FTP program. In that case switch it over to see hidden files and you should see the original .htaccess.
The content of the original .htaccess:

Code: Select all

<Files "config.php">
Order Allow,Deny
Deny from All
</Files>

<Files "common.php">
Order Allow,Deny
Deny from All
</Files>
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!
User avatar

Topic author
liquidspark
Translator
Posts: 27
Joined: 10. February 2008 17:11
Location: New Jersey, USA
Contact:

Re: .htaccess file

Post by liquidspark »

For some reason, that .htaccess file didn't upload to my site. I did find it in the folder on my computer, but not on my server.
Perhaps I uploaded the files, rather than uploading the entire folder...

Thanks.
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: .htaccess file

Post by Kevin »

You're welcome. :)
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!
User avatar

thomas.d
Former Team Member
Posts: 625
Joined: 19. January 2008 23:56
phpBB.de User: thomas.d
phpBB.com User: thomas.d
Contact:

Re: .htaccess file

Post by thomas.d »

Some ftp-programs need to have "show dot-files" in their options to be activated (i.e. "Secure FX")
Viele Grüße

Thomas

Deutsche Sprachdateien für
[Alpha] phpBB Calendar 0.0.8 (alightner) | [RC] phpBB Arcade 1.0.RC8 |
ACP Add User MOD 1.0.0 |

Ratt
Active Member
Posts: 3
Joined: 18. February 2008 12:37

Re: .htaccess file

Post by Ratt »

A windows server does not allow the use of .htaccess files. I seen a tutorial somewhere..see if I can find it that can be used as a redirect for the portal for those who have servers that don't allow .htaccess files. Example my server does not allow files that start in . - * @ or any other wild characters.
User avatar

Topic author
liquidspark
Translator
Posts: 27
Joined: 10. February 2008 17:11
Location: New Jersey, USA
Contact:

Re: .htaccess file

Post by liquidspark »

Wow, that makes me happy to know I'm using a UNIX server :D

If anyone is looking for a hosting server, check out Westhost. They're totally awesome in every way.
User avatar

Ice
Former Team Member
Posts: 359
Joined: 20. January 2008 23:43
Location: England, United Kingdom

Re: .htaccess file

Post by Ice »

Some windows servers running apache do allow for .htacess and the like because apache handles them and not actually the filesytem, just some providers prefer to block them. Some IIS and windows server configs also allow them but are not always enabled.
Board3 Portal Dev & English Tech Support

Ratt
Active Member
Posts: 3
Joined: 18. February 2008 12:37

Re: .htaccess file

Post by Ratt »

liquidspark wrote:Wow, that makes me happy to know I'm using a UNIX server :D

If anyone is looking for a hosting server, check out Westhost. They're totally awesome in every way.

Actually there is no need for .htaccess files on a Windows Server since the files are easily password protected if they require that much protection and are not even needed at all therefore the Hosting provider disables the ability to use them. It's much harder to crack into a Windows Server than an apache server :P

On the more serious side of things it is actually in the best interest to take into consideration of those who are unable to use those type of files that contain wild characters such as files starting with them or containing the wild characters. It's actually easier to type an underscore than it is to use shift and then a wild character above the number key and makes it easier on those who are not able to use those characters. ;)
Locked

Return to “board3 Portal 1.0.x - English Support”