Question Bitnami Stack htaccess configuration

Status
Not open for further replies.

Mark Parrish

Customer
I have a Wordpress / vBulletin stack that I have moved to the Bitnami Wordpress stack. There .htaccess information is stored in the htaccess.conf file with Directory blocks as the location of the htaccess info.

Code:
<Directory "/opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/akismet">
# Only allow direct access to specific Web-available files.

# Apache 2.2
<IfModule !mod_authz_core.c>
	Order Deny,Allow
	Deny from all
</IfModule>

# Apache 2.4
<IfModule mod_authz_core.c>
	Require all denied
</IfModule>

# Akismet CSS and JS
<FilesMatch "^(form|akismet)\.(css|js)$">
	<IfModule !mod_authz_core.c>
		Allow from all
	</IfModule>
	
	<IfModule mod_authz_core.c>
		Require all granted
	</IfModule>
</FilesMatch>

# Akismet images
<FilesMatch "^(.+)\.(png|gif)$">
	<IfModule !mod_authz_core.c>
		Allow from all
	</IfModule>
	
	<IfModule mod_authz_core.c>
		Require all granted
	</IfModule>
</FilesMatch>
</Directory>

I would think I could just add the DragonByte SEO htaccess to this file and have it in its own Directory block like
Code:
<Directory "/opt/bitnami/apps/wordpress/htdocs/forums">

<IfModule mod_rewrite.c>
	RewriteEngine On

	# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory.
	# RewriteBase /

	# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
	# Options -MultiViews

	RewriteCond %{REQUEST_URI} !(admincp/|dbseocp/|modcp/|cron|mobiquo|forumrunner|api\.php|reviewpost/|classifieds/|photopost/)
	RewriteRule ^((archive/)?(.*\.php(/.*)?))$ dbseo.php [L,QSA]

	RewriteCond %{REQUEST_FILENAME} !-f
	RewriteCond %{REQUEST_FILENAME} !-d
	RewriteCond %{REQUEST_FILENAME} !/(admincp|dbseocp|modcp|clientscript|cpstyles|images|reviewpost|classifieds|photopost)/
	RewriteRule ^(.+)$ dbseo.php [L,QSA]
</IfModule>

</Directory>

But it does not work. I don't get any page to display.

Mark
 
Hi Mark,

It's really difficult for us to support non-standard configurations, but could you please elaborate on what you mean by "can't get any page to display"?

I'll try to assist you as much as I can, but I can't guarantee anything unfortunately :(
 
Wow! Thanks for the really quick response. Yes, the page just says connecting to hotcouponworld.com. I can see it is trying to load something but nothing is displayed.
 
Hmm, that was certainly not what I expected. It sounds like you may have a redirect loop. If you use the vB CMS as your index page, you'll want to go to the DBSEO CP and turn off Force Forum Directory Index from one of the settings pages there.

Let me know if that helps or if not, what the error log says :)
 
Excellent, glad to hear it :)

Feel free to respond to this thread or start a new ticket if you encounter any further issues :)
 
Status
Not open for further replies.

Legacy DragonByte SEO

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
7,172
Customer rating
5.00 star(s) 1 ratings
Back
Top