1

Topic: URL scheme and 404 error

After uploading .htaccess to root directory and selecting file based in admin. I get 404 error You don't have permission to access /forum/ on this server.

Any idea what's wrong?

Re: URL scheme and 404 error

First of all, error 404 is "Not found". Second, what PunBB version (if it's from SVN, what revision).

3

Re: URL scheme and 404 error

Uhh..sorry. It's 1.3 final.

I know 404 is Not Found...that's the problem. I get this error, after uploading .htaccess file. It doesn't matter which url schema i chose.

If i just change url schema and don't upload .htaccess some of the links (index page and admin) works, but forum gives 404 error. After uploading .htaccess i can't access any page, even first page is 404.

Bellow is full error

Not Found

The requested URL /forum/forum14.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/4.4.8 

Re: URL scheme and 404 error

If not solved, try to uncomment/edit RewriteBase parameter in your .htaccess file.

Carpe diem

5

Re: URL scheme and 404 error

I tried that already, didn't help. I tried /home/public_html/site/forum/ and also just /forum/

everything else in .htaccess is left default

tnx

Re: URL scheme and 404 error

Try adding an
AllowOverride ALL
to your httpd.conf

<Directory /.../punbb>
AllowOverride ALL
</Directory>

Then do a reload on apache:
service httpd reload

HTH
Oliver

http://tinymailto.com/oliversl <-- my email after a captcha

7

Re: URL scheme and 404 error

Didn't work...got this


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@site.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Re: URL scheme and 404 error

teva wrote:

mod_ssl/2.0.63 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/4.4.8

Do you have mod_rewrite installed/enabled? Looks like PunBB's .htaccess does nothing for you.

Carpe diem

9

Re: URL scheme and 404 error

In phpinfo i see that mod_rewrite module in loaded.

Re: URL scheme and 404 error

i ahve the same problem, maybe i must change the permission of my htacces file?

Re: URL scheme and 404 error

bah. i tot im the only one who got this error by creating new thread.

any help?!

Re: URL scheme and 404 error

sad sad sad sad

Re: URL scheme and 404 error

hi I'm new and I just registered to try to help you.

Have you checkt the apache server logs?

Because in my case I also got 404 when using the .htaccess file.
In the logs I got this error:

Option MultiViews not allowed here

So the solution in my case was to delete the Option MultiViews from the .htaccess file

hope it works

cu

14

Re: URL scheme and 404 error

Yep..works for me. I just commented Option -Multivies and works great now

thanks a lot

15 (edited by owner-4 2009-05-02 16:06)

Re: URL scheme and 404 error

an ".htaccess"  Introduction   article ,read  it can help  you  ! may be