Topic: Fancy URL's
To Smartys:
Well, my site is at: http://shedrockonline.com so where do I enter the path?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.3 troubleshooting → Fancy URL's
To Smartys:
Well, my site is at: http://shedrockonline.com so where do I enter the path?
Did you put the .htaccess file in place? If so, paste the contents of it here.
# 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.
RewriteBase was /, not /shedrockonline. Change it back
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.
Does your server have mod_rewrite enabled?
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
Interesting: try removing the RewriteBase line and see if it helps.
That didn't help either.
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?
Yes, I am 100% sure I can use .htaccess files on the host.
Where can I send you the login info for the FTP?
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.
You need to set up AllowOverride properly.
but my web hosts assured me that it is being used. I have it on all my sites.
How do I setup AllowOverride?
You'll have to talk to your host, they're the ones who can help you.
ok, I am chatting with them now...so what you're saying is that currently I can't use .htaccess files on my server?
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.
why does it work here then? same host...
http://megapun.com/cache/
It just started working on your host as well.
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>
Oh. Then neither of your sites have working htaccess files
But I just got off chat with them and they said it is active and working. I am lost.
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.
ok, thanks Smartys. I will contact them again tomorrow.
I had to set the RewriteBase and change the RewriteRule to:
RewriteRule . rewrite.php [L]
doesn't work...
PunBB Forums → PunBB 1.3 troubleshooting → Fancy URL's
Powered by PunBB, supported by Informer Technologies, Inc.