Topic: Fancy URL's

To Smartys:

Well, my site is at: http://shedrockonline.com so where do I enter the path?

Re: Fancy URL's

Did you put the .htaccess file in place? If so, paste the contents of it here.

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: Fancy URL's

# BEGIN PunBB

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /shedrockonline
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /rewrite.php [L]
</IfModule>

# END PunBB

I am just using the one that came in the extras folder. I am sure I have something wrong.

Re: Fancy URL's

RewriteBase was /, not /shedrockonline. Change it back wink

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: Fancy URL's

ok, so it should be:

# BEGIN PunBB

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /rewrite.php [L]
</IfModule>

# END PunBB

This doesn't work for me.

Re: Fancy URL's

Does your server have mod_rewrite enabled?

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: Fancy URL's

yep..

Loaded Modules

core prefork http_core mod_so mod_access mod_auth mod_auth_anon mod_auth_dbm mod_auth_digest util_ldap mod_auth_ldap mod_include mod_log_config mod_env mod_mime_magic mod_cern_meta mod_expires mod_deflate mod_headers mod_usertrack mod_setenvif mod_mime mod_dav mod_status mod_autoindex mod_asis mod_info mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_imap mod_actions mod_speling mod_userdir mod_alias mod_rewrite mod_proxy proxy_ftp proxy_http proxy_connect mod_cache mod_suexec mod_disk_cache mod_file_cache mod_mem_cache mod_cgi mod_perl mod_php5

Re: Fancy URL's

Interesting: try removing the RewriteBase line and see if it helps.

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: Fancy URL's

That didn't help either. sad

Re: Fancy URL's

Are you sure you can use .htaccess files on your host?
If you are, would it be possible for you to give me FTP access to check this out?

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: Fancy URL's

Yes, I am 100% sure I can use .htaccess files on the host.

Where can I send you the login info for the FTP?

Re: Fancy URL's

Actually, I can confirm htaccess files are disabled on your server: I just browsed to your cache folder and got the index.html file rather than a .htaccess 403. smile
You need to set up AllowOverride properly.

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: Fancy URL's

but my web hosts assured me that it is being used. I have it on all my sites.

How do I setup AllowOverride?

14 (edited by Smartys 2008-01-30 03:09)

Re: Fancy URL's

You'll have to talk to your host, they're the ones who can help you.

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: Fancy URL's

ok, I am chatting with them now...so what you're saying is that currently I can't use .htaccess files on my server?

Re: Fancy URL's

I'm saying that Apache is not reading your .htaccess files. If it were, rewriting would be working and I would get a 403 error when trying to browse to the cache directory.

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: Fancy URL's

why does it work here then? same host...
http://megapun.com/cache/

Re: Fancy URL's

It just started working on your host as well.

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: Fancy URL's

well, it is only working because I copied the index.html file from my other site megapun.com. The 403 error is only displayed because it is in the index.html file. The new index.html file does not contain that text in it.

This is the contents of the html file.

<html>
<head>
<title>.</title>
</head>
<body>
.
</body>
</html>

Re: Fancy URL's

Oh. Then neither of your sites have working htaccess files tongue

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: Fancy URL's

But I just got off chat with them and they said it is active and working. I am lost.

Re: Fancy URL's

Well, there's nothing I can do I'm afraid. Your host controls your servers, not me. All I can do is point out that if .htaccess files were enabled and being read, it would be working right now.

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: Fancy URL's

ok, thanks Smartys. I will contact them again tomorrow.

Re: Fancy URL's

I had to set the RewriteBase and change the RewriteRule to:

RewriteRule . rewrite.php [L]

Re: Fancy URL's

doesn't work...