Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-21-2013, 11:53 AM
5404 5404 is offline
Member
 
Join Date: Jan 2013
Posts: 6
Gender: Female
Credits: 877
5404 is on a distinguished road
Default

I'm not sure but this could be problem with .htaccess.

.htaccess of just downloaded and unzipped file looks like that:
Quote:
RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
And according to this it just catch all requests and shows index.php:
Quote:
Next, you say you are trying to catch all requests that don't contain "index.php".. and ensure they do, creating a PATH_INFO parameter out of the original request. Something like this will work better..

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php/$1 [R,L]

The first two lines check that the requested resource doesn't actually exist (including requests for index.php itself). It's slightly wasteful, but required for your catch-all rule. The RewriteRule catches all other requests and directs them to /index.php/*something*.

*something* will then be available as your PATH_INFO variable.

If you don't want the new address to show up in the user's address bar, remove the [R] flag.
Source: http://corz.org/serv/tricks/htaccess2.php
Reply With Quote
  #2  
Old 01-21-2013, 05:23 PM
pachoofoosh's Avatar
pachoofoosh pachoofoosh is offline
Artist
 
Join Date: Dec 2012
Location: New York
Posts: 98
Gender: Unknown/Other
Credits: 22,241
pachoofoosh is on a distinguished road
Default

Quote:
Originally Posted by 5404 View Post
I'm not sure but this could be problem with .htaccess.

.htaccess of just downloaded and unzipped file looks like that:

And according to this it just catch all requests and shows index.php:
Source: http://corz.org/serv/tricks/htaccess2.php
I replaced my .htaccess with that, and it made it impossible to access the admin control panel; it just showed the main site's index.php content. :o
__________________
The calzones... betrayed me?
Reply With Quote
Reply

Tags
admin, admin cp, control, panel, text

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
For those of you who have trouble with ACP Hall of Famer Questions and Supports 0 02-02-2013 03:29 PM
Theme trouble Corsair Questions and Supports 1 03-14-2012 05:29 PM
More trouble :( Gashu Questions and Supports 6 11-12-2011 11:37 PM
Having trouble setting up Gashu Questions and Supports 8 11-12-2011 03:11 PM
Trouble with /adm Knight Questions and Supports 11 02-15-2009 08:24 PM


All times are GMT -5. The time now is 02:49 AM.

Currently Active Users: 2965 (0 members and 2965 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636