Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Lionsanime Directory   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 02-11-2005, 02:11 PM   #1 (permalink)
Contributing Member
 
Pimpen 2010's Avatar
 
Join Date: 10-13-03
Location: Pffffft
Posts: 8,857
iTrader: 0 / 0%
Latest Blog:
None

Pimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nice
Send a message via AIM to Pimpen 2010 Send a message via Yahoo to Pimpen 2010
Mod Rewrite (problems)

http://www.must-have-software.net/forum/forum2.php

When I moved over to my new hosting this happened. Tried redoing the files but this still happens?

And also, how do you make it so when you put in an url like the homepage, www.electronica-central.com it loads www.electronica-central/news.php instead of index.php?
__________________
Hummer Forums
Trick It Out
Pimpen 2010 is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 02-11-2005, 02:27 PM   #2 (permalink)
Administrator
 
fishfreek's Avatar
 
Join Date: 10-13-03
Location: Virginia
Posts: 2,073
iTrader: 0 / 0%
Latest Blog:
None

fishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of light
Send a message via ICQ to fishfreek Send a message via AIM to fishfreek Send a message via MSN to fishfreek Send a message via Yahoo to fishfreek
You would need to verify the data in the .htaccess file is correct. This is also how you do what you want for news.
fishfreek is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-11-2005, 03:00 PM   #3 (permalink)
Contributing Member
 
Pimpen 2010's Avatar
 
Join Date: 10-13-03
Location: Pffffft
Posts: 8,857
iTrader: 0 / 0%
Latest Blog:
None

Pimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nice
Send a message via AIM to Pimpen 2010 Send a message via Yahoo to Pimpen 2010
Well for the news part, I dunno what to even put, I don't know how to use .htaccess files...

Here's what I have in my .htaccess folder, it's straight from the mod_rewrite hack:

Code:
RewriteEngine On RewriteRule ^forums.* /index.php RewriteRule ^viewforum([0-9]*)-([0-9]*)-([0-9]*).* /viewforum.php?f=$1&topicdays=$2&start=$3 RewriteRule ^mforum([0-9]*).* /viewforum.php?f=$1&mark=topic RewriteRule ^forum([0-9]*).* /viewforum.php?f=$1 RewriteRule ^ptopic([0-9]*).* /viewtopic.php?t=$1&view=previous RewriteRule ^ntopic([0-9]*).* /viewtopic.php?t=$1&view=next RewriteRule ^newtopic([0-9]*).* /viewtopic.php?t=$1&view=newest RewriteRule ^ftopic([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).* /viewtopic.php?t=$1&postdays=$2&postorder=$3&start=$4 RewriteRule ^ftopic([0-9]*)-([0-9]*)-([0-9]*)-([a-zA-Z]*)-([a-zA-Z]*).* /viewtopic.php?t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 RewriteRule ^ftopic([0-9]*)-([0-9]*).* /viewtopic.php?t=$1&start=$2 RewriteRule ^ftopic([0-9]*).* /viewtopic.php?t=$1 RewriteRule ^sutra([0-9]*).* /viewtopic.php?p=$1
__________________
Hummer Forums
Trick It Out
Pimpen 2010 is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-11-2005, 04:18 PM   #4 (permalink)
Administrator
 
fishfreek's Avatar
 
Join Date: 10-13-03
Location: Virginia
Posts: 2,073
iTrader: 0 / 0%
Latest Blog:
None

fishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of lightfishfreek is a glorious beacon of light
Send a message via ICQ to fishfreek Send a message via AIM to fishfreek Send a message via MSN to fishfreek Send a message via Yahoo to fishfreek
http://httpd.apache.org/docs/howto/htaccess.html
fishfreek is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-11-2005, 04:34 PM   #5 (permalink)
Contributing Member
 
Pimpen 2010's Avatar
 
Join Date: 10-13-03
Location: Pffffft
Posts: 8,857
iTrader: 0 / 0%
Latest Blog:
None

Pimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nice
Send a message via AIM to Pimpen 2010 Send a message via Yahoo to Pimpen 2010
Thanks

About the other prob, any ideas?
__________________
Hummer Forums
Trick It Out
Pimpen 2010 is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-12-2005, 03:22 PM   #6 (permalink)
v7n Mentor
 
hatchet's Avatar
 
Join Date: 10-11-03
Posts: 1,149
iTrader: 0 / 0%
Latest Blog:
None

hatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nicehatchet is just really nice
Instead of this or similar
DirectoryIndex index.html index.php index.php3 index.htm

Put this
DirectoryIndex news.php
hatchet is offline  
Add Post to del.icio.us
Reply With Quote
Old 02-12-2005, 04:04 PM   #7 (permalink)
Contributing Member
 
Pimpen 2010's Avatar
 
Join Date: 10-13-03
Location: Pffffft
Posts: 8,857
iTrader: 0 / 0%
Latest Blog:
None

Pimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nicePimpen 2010 is just really nice
Send a message via AIM to Pimpen 2010 Send a message via Yahoo to Pimpen 2010
Thanks,

Do you know how I can fix the forum problem, that for some reason still doesn't work?
__________________
Hummer Forums
Trick It Out
Pimpen 2010 is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
301 asp rewrite? bomy Coding Forum 10 06-19-2007 02:05 AM
Mod Rewrite Help...please DM_Web _Directory Coding Forum 16 04-11-2007 06:43 PM
need help with mod rewrite url rewrite sim Coding Forum 3 07-31-2005 06:51 PM
Mod Rewrite T-Kai Coding Forum 5 08-24-2004 10:42 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 04:50 AM.
© Copyright 2008 V7 Inc