GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Wordpress modrewrite affecting Autogallery SQL admin area (https://gfy.com/showthread.php?t=698039)

Shaze 01-21-2007 08:41 PM

Wordpress modrewrite affecting Autogallery SQL admin area
 
Anyone know how to stop Wordpress mod_rewrite from displaying it's 404 page when trying to access Autogallery SQL? I have installed Wordpress in my root web directory, and whenever I try to access my Autogallery SQL admin login page it just displays the 404 page.

Shaze 01-21-2007 09:08 PM

bump for me...come on guys help me out here..this thing is driving me crazy...i've been trying to fix it for awhile now....just wrote JMBsoft a ticket..but would be much faster if someone here knows how to fix it.

VexXxed 01-21-2007 09:11 PM

100% sure your AGSQL admin page isn't 404?

Shaze 01-21-2007 09:14 PM

Quote:

Originally Posted by VexXxed (Post 11767809)
100% sure your AGSQL admin page isn't 404?

yup....when i remove the mod_rewrite code for Wordpress in the .htaccess file I get the AGSQL login page fine. When I add the code back it gives me the 404 page again.

Shaze 01-21-2007 09:18 PM

Quote:

Originally Posted by Shaze (Post 11767819)
yup....when i remove the mod_rewrite code for Wordpress in the .htaccess file I get the AGSQL login page fine. When I add the code back it gives me the 404 page again.

keep in mind i'm adding the Wordpress mod_rewrite code in the .htaccess file in my root public_html folder and not the .htaccess file in the "admin" folder of AGSQL.

woj 01-21-2007 09:37 PM

put:
Rewriteengine off

in .htaccess in the admin area

bu((aneer 01-21-2007 09:40 PM

what does your htaccess file look like?

Superterrorizer 01-21-2007 09:53 PM

Easy fix for this. Why don't you ask your host's support if they can take care of it for you?

Shaze 01-24-2007 10:29 PM

Quote:

Originally Posted by Superterrorizer (Post 11767942)
Easy fix for this. Why don't you ask your host's support if they can take care of it for you?

i just sent them a message....JMBsoftware support was unable to fix this also and told me to contact my server support.

Lycanthrope 01-26-2007 12:25 PM

This is not a JMB issue NOR a wordpress issue, but a http request issue :P

Here is the solution:

A) if your server is setup w/ predefined error pages, make sure you upload the appropriate 401 and 403 error pages.

B) if not, define your 401 and 403 error pages in .htaccess.
ErrorDocument 401 /401.shtml
ErrorDocument 403 /403.shtml

These pages must be static and on YOUR server. Once you correctly enter your password, you'll be taken to your protected area.

What happens without these documents is that wordpress serves up it's 404 page because these files don't exist.

These error pages can be filled w/ random babble and should be at least 512bytes if you use IE.

darksoul 01-26-2007 12:44 PM

wordpress' mod_rewrite redirects only non existing files to its index.php
so unless something fishy is happening there it should work flawless.

Lycanthrope 01-26-2007 01:32 PM

Quote:

Originally Posted by darksoul (Post 11796225)
wordpress' mod_rewrite redirects only non existing files to its index.php
so unless something fishy is happening there it should work flawless.

After authentication, yes, until then, HTTP Basic-Auth first sends a 401 to request a password, so if it tries to serve up the error file and it doesn't exist, Wordpress ends up handling the page request.


All times are GMT -7. The time now is 04:47 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123