Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 05-03-2023, 04:48 PM   #1
lakerslive
Confirmed User
 
Industry Role:
Join Date: Aug 2012
Posts: 929
htaccess need quick help

Hello

my host told me to use

Options +Indexes

because i can't view my script on
domain.com/admin/ ( it gives me "ACCESS DENIED"

so, what would the code look like?

tnx
lakerslive is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-03-2023, 04:58 PM   #2
lakerslive
Confirmed User
 
Industry Role:
Join Date: Aug 2012
Posts: 929
i tried

</IfModule mod_rewrite.c>
rewriterule .* - e=http_authorization:%{http:Authorization}]
RewriteBase /
RewriteRule ^index\.php$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . / index.php [L]
</IfModule>

but doesn't work?
lakerslive is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-03-2023, 06:39 PM   #3
Lief Thorson
So Fucking Banned
 
Industry Role:
Join Date: Apr 2023
Location: Norway
Posts: 528
Quote:
Originally Posted by lakerslive View Post
i tried

</IfModule mod_rewrite.c>
rewriterule .* - e=http_authorization:%{http:Authorization}]
RewriteBase /
RewriteRule ^index\.php$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . / index.php [L]
</IfModule>

but doesn't work?
If you do not turn the rewrite engine on, it cannot rewrite anything. Also, put options +Indexes at the top.

like this
Code:
Options +Indexes

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  RewriteRule ^index\.php$ - [L]
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule . /index.php [L]
  RewriteRule .* - [E=http_authorization:%{HTTP:Authorization}]
</IfModule>
Lief Thorson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-03-2023, 07:11 PM   #4
2MuchMark
Videochat Solutions
 
2MuchMark's Avatar
 
Industry Role:
Join Date: Aug 2004
Location: Canada
Posts: 47,371
^^ This ^^.
__________________

VideoChat Solutions | Custom Software | IT Support
https://www.2much.net | https://www.lcntech.com
2MuchMark is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2023, 02:08 PM   #5
Lief Thorson
So Fucking Banned
 
Industry Role:
Join Date: Apr 2023
Location: Norway
Posts: 528
I wonder if he ever came back to read this. I hate taking my time to be helpful.
Lief Thorson is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2023, 03:05 PM   #6
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 54,875
nginx would be better
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Tube Themes
fris is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2023, 03:33 PM   #7
RyuLion
 
RyuLion's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: San Diego
Posts: 32,110
Quote:
Originally Posted by Lief Thorson View Post
I wonder if he ever came back to read this. I hate taking my time to be helpful.
I won't worry about that man, just move on, some people will others won't.
__________________

Adult Biz Consultant A tech head since 1995
RyuLion is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 05-04-2023, 03:58 PM   #8
JesseQuinn
feeding the wolves
 
JesseQuinn's Avatar
 
Industry Role:
Join Date: Aug 2012
Location: between sand and stars in Jamaica
Posts: 5,961
Quote:
Originally Posted by Lief Thorson View Post
I wonder if he ever came back to read this. I hate taking my time to be helpful.
no time wasted in putting good energy out there

personally, I found your code to be a gripping page-turner. I shall def tune in for the next thrilling installment
JesseQuinn is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks

Tags
access, denied, domain.com/admin, code, tnx, script, host, told, quick, htaccess, indexes, options, view



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.