NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page .htaccess Question...

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Closed Thread
 
LinkBack Thread Tools
Old 02-27-2006, 07:58 PM THREAD STARTER               #1 (permalink)
NamePros Member
Join Date: Jul 2005
Posts: 121
devanium will become famous soon enoughdevanium will become famous soon enough
 



.htaccess Question...


This is probably a stupid question, but my current root directory .htaccess file looks like this:

-------------------------------------

Options All -Indexes
#ErrorDocument 404 /index.php?error
ErrorDocument 404 /404.php

RewriteEngine On

RewriteRule ^category/([0-9]+).html/?$ index.php?category=$1 [L]
RewriteRule ^news/([0-9]+).html/?$ index.php?news=$1 [L]
RewriteRule ^print/([0-9]+).html/?$ print_version.php?id=$1 [L]
RewriteRule ^pdf/([0-9]+).html/?$ pdf_version.php?id=$1 [L]
RewriteRule ^comments/([0-9]+).html/?$ index.php?comments=$1 [L]
RewriteRule ^author/([^<]+).html/?$ index.php?author=$1 [L]

RewriteRule ^([^.]+)/?$ index.php?category_name=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^<]+)/([^<]+).html/?$ index.php?news=$2 [L]

-------------------------------------

Now, I just installed a new script (phpadsnew), and it's giving me a 404 error. How can I modify the .htaccess to allow access to this new script?
????: NamePros.com http://www.namepros.com/programming/171959-htaccess-question.html

Any help would be greatly appreciated! Thanks!
devanium is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Ask Questions the Smart Way Cyberian The Break Room 10 01-22-2006 05:16 PM
SEO with mod_rewrite and .htaccess cDizzle CODE 1 01-08-2006 01:50 AM
Question for the WEB Developer(s) - eCommerce or Payment Question rufryder Web Design Discussion 4 08-22-2005 06:10 AM
Not at trick question Coastalguy The Break Room 5 05-04-2005 04:22 PM
little question.. khkhan Domain Appraisals 2 11-20-2004 04:28 AM

 
All times are GMT -7. The time now is 02:11 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger