| | |||||||
| |||||||
| New! Use your Facebook, Google, AIM & Yahoo accounts to securely log into this site, click logo to login | |
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Senior Member | ..htaccess help needed please. (nonpaid) :) First, I know squat about coding anything, so sorry in forward for stupid questions. I am "developing" a multiforum site, I have found out that I need to make a .htaccess file to make what I want to do, so I have search and read around and wroted one, but I dont think I have done it right. ![]() What I want it to do is f.ex. instead of having a url and making forums in www.stickyforums.com/somethingforum/ I want it to be... somethingforum.stickyforums.com I have wroted following .htaccess, what do I need to add and remove to get what I want? ---------.htaccess start----------- <Files .htaccess> order allow,deny deny from all </Files> ErrorDocument 404 /index.php?do=unknown_page <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /forum/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> Options ExecCGI ---------.htaccess end---------- Thank you very much for helping.
__________________ Are you a Scandinavian domainer? Together we are stronger! - Join us here: Scandinavian Domainers! Reliable and secure domain registering - visit 77GB.net | Free Hosting !!! visit Nicheserver.net | Free Forums !!! visit Stickyforums.com | Non-commercial donation site 3x3.org. |
| | |
| | #2 (permalink) |
| Senior Member | if you want it something.stickyforums.com, that means you have to set up a subdomain. there should be an option somewhere in cpanel (or whatever your host supplies) that will let you set up your subdomains (as well as what directories they point to). hopefully, you have cpanel - then you won't have to even touch htaccess
__________________ Hacksar.com - Your source for random computer tips and tricks! MySiteMemberships.com - Keep track of your site registration information! Like my post? Rep is appreciated! |
| | |
| | #3 (permalink) |
| Senior Member | Sorry I did not make myself clear. I am planning to use some script called NextBBS. It is a multiforum script, where my visitors can make their own forums easy and automatic. From default when users make their forum, the script makes it so their forum name is something like: www.stickyforums.com/somethingforum/ what I want it to be instead is when my users create their forum: something.stickyforums.com In the scripts website installation read me they write that to do that one has to do a .htaccess file with RewriteBase on, but they dont say what I have to write in the .htaccess file. Sorry before for not explaining this better, I hope it is more understandable now, what I want. Thank you in forward for your reply.
__________________ Are you a Scandinavian domainer? Together we are stronger! - Join us here: Scandinavian Domainers! Reliable and secure domain registering - visit 77GB.net | Free Hosting !!! visit Nicheserver.net | Free Forums !!! visit Stickyforums.com | Non-commercial donation site 3x3.org. |
| | |
| | #5 (permalink) |
| Senior Member | Thank you Dave. Repped you.
__________________ Are you a Scandinavian domainer? Together we are stronger! - Join us here: Scandinavian Domainers! Reliable and secure domain registering - visit 77GB.net | Free Hosting !!! visit Nicheserver.net | Free Forums !!! visit Stickyforums.com | Non-commercial donation site 3x3.org. |
| | |
| | #6 (permalink) |
| First Time Poster! | This may be some help also... .htaccess Online Editor you can create your htaccess online. |
| | |
| | #7 (permalink) |
| New Member | nice discussion
__________________ Best hosting |
| | |