RewriteEngine On RewriteRule ^site/(.*)\.axsu$ index.php?id=site&page=$1
if you could tell me what i'm doing wrong itd be helpful...
btw, ive looked at every tutorial on this site and still couldnt figure it out
Posted 14 August 2006 - 04:20 PM
RewriteEngine On RewriteRule ^site/(.*)\.axsu$ index.php?id=site&page=$1
Posted 14 August 2006 - 04:34 PM
Edited by .Matt, 14 August 2006 - 04:34 PM.
Posted 14 August 2006 - 04:40 PM
Posted 14 August 2006 - 04:43 PM
Posted 14 August 2006 - 04:52 PM
RewriteEngine On RewriteRule ^axsu/(.*)\.axsu$ index.php?id=axsu&page=$1
Edited by zetsumei, 14 August 2006 - 04:55 PM.
Posted 14 August 2006 - 04:58 PM
<link rel="stylesheet" href="/style.css" type="text/css" />
Posted 14 August 2006 - 05:01 PM
Posted 14 August 2006 - 06:24 PM
.Matt, on Aug 14 2006, 09:58 PM, said:
<link rel="stylesheet" href="/style.css" type="text/css" />
zetsumei, on Aug 14 2006, 10:00 PM, said:
<?php $url="http://".$_SERVER['HTTP_HOST']; ?> <link rel="stylesheet" href="<? echo $url; ?>/style.css" type="text/css" />assuming that is where your style sheet file is, it puts a direct link on it, but it's not really direct because it will change if you move it to a different server/domain name.
Posted 14 August 2006 - 06:28 PM
Posted 14 August 2006 - 06:36 PM
<html> <head> <title>Axsu Studios v1.0</title> <link rel="stylesheet" href="/style.css" type="text/css" /> <link rel="shortcut icon" href="/images/favicon.ico" /> </head> <body> <center> <div id="container"> <div id="head"></div> <div id="nav"> <a href="?id=axsu&page=">Home</a> <a href="?id=axsu&page=about">About</a> <a href="?id=axsu&page=contact">Contact</a> <a href="?id=axsu&page=port">Portfolio</a> <a href="?id=tutorials&page=viewtut">Tutorials</a> <a href="http://www.tutorialstream.com"><img src="/images/tstream.gif" align="right" width="88px" height="31px" border="0" alt="Tutorial Stream" /></a> </div>
Posted 14 August 2006 - 06:42 PM
http://axsustudios.com/axsu/about/axsu/contact/etc....
AddType application/x-httpd-php axsu RewriteEngine On RewriteRule ^axsu/(.*)/(.*)\.axsu$ index.php?id=$id&page=
Posted 14 August 2006 - 06:46 PM
<a href="/xxx/yyy/">link name</a>[code] notice the forward slash at the beginning of the link. [code]AddType application/x-httpd-php axsu RewriteEngine On RewriteRule ^axsu/(.*)/(.*)\.axsu$ index.php?id=$id&page=
Edited by .Matt, 14 August 2006 - 06:46 PM.
Posted 14 August 2006 - 06:55 PM
<div id="nav"> <a href="/">Home</a> <a href="/axsu/about/about.axsu">About</a> <a href="/axsu/contact/contact.axsu">Contact</a> <a href="/axsu/port/port.axsu">Portfolio</a> <a href="?id=tutorials&page=viewtut">Tutorials</a> <a href="http://www.tutorialstream.com"><img src="/images/tstream.gif" align="right" width="88px" height="31px" border="0" alt="Tutorial Stream" /></a> </div>
<?
if (isset($_GET['page']) && isset($_GET['id']) && file_exists('mods/'.$_GET[id].'/'.$_GET[page].'.php')) {
include 'mods/'.$_GET[id].'/'.$_GET[page].'.php';
}
else {
include("news/view.php");
}
?>
RewriteEngine On RewriteRule ^axsu/(.*)/(.*)\.axsu$ index.php?id=$id&page=$page
Edited by zetsumei, 14 August 2006 - 06:56 PM.
Posted 14 August 2006 - 07:08 PM
Quote
<div id="nav"> <a href="/">Home</a> <a href="/axsu/about/about.axsu">About</a> <a href="/axsu/contact/contact.axsu">Contact</a> <a href="/axsu/port/port.axsu">Portfolio</a> <a href="?id=tutorials&page=viewtut">Tutorials</a> <a href="http://www.tutorialstream.com"><img src="/images/tstream.gif" align="right" width="88px" height="31px" border="0" alt="Tutorial Stream" /></a> </div>
<?
if (isset($_GET['page']) && isset($_GET['id']) && file_exists('mods/'.$_GET[id].'/'.$_GET[page].'.php')) {
include 'mods/'.$_GET[id].'/'.$_GET[page].'.php';
}
else {
include("news/view.php");
}
?>
RewriteEngine On RewriteRule ^axsu/(.*)/(.*)\.axsu$ index.php?id=$id&page=$page
RewriteEngine On RewriteRule ^axsu/(.+)/(.+)\.axsu$ /index.php?id=$1&page=$2 [nc] RewriteRule ^(.+)/$ /index.php?id=$1 [nc]
Edited by Demonslay, 14 August 2006 - 07:08 PM.
Posted 14 August 2006 - 07:10 PM
Edited by zetsumei, 14 August 2006 - 08:46 PM.
0 members, 1 guests, 0 anonymous users