|
|||
So I have a php social networking application installed on my server. WebNetwork is the name... I am attempting to install a horizontal spry menu into my site... I was successful with installing it into a sub directory * Mantra3.com - Mantra Pics *
But when I attempted to install the same menu into my main directory, my menu doesn't work properly... * See Mantra3.com - A Premier Social Site exclusively for the Gay Community. * I believe this is a problem caused by the htaccess that helps operate my php application. The menu @ Mantra3.com - A Premier Social Site exclusively for the Gay Community. should look like the one @ Mantra3.com - Mantra Pics I need this fixed asap. If someone can please help me recode the htaccess file or figure out something else, I'd greatly appreciate it... Here is the htaccess file content... Code:
#Turn off ModSecurity because it blocks our jUpload
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^p/(.*) ./rewrite.php?p=$1&%{QUERY_STRING}
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond $1 !smartway
RewriteRule ^groups/([a-zA-Z0-9_]+)$ index.php?page=groups_home&action=find_group&group=$1
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond $1 !smartway
RewriteRule ^([a-zA-Z0-9_]+)/?$ index.php?page=view_profile&mname=$1
</IfModule>
|
|
|||
I had to have a php developer re script the install script specifically for the root folder access... I'm not 100% sure why, but the script I entered was being cut off... example... if I entered 1234567890 as my php script, (in the source file) you'd only see 12345678, so some of the script was missing.
Original Code: (This code worked when installed outside of my root folder. When installed in the root folder, it rewrote the script some how and cause a syntax error) Code:
<!--
var MenuBar1 = new Spry.Widget.MenuBar("MantraMenu", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
//-->
Code:
<script type="text/javascript">
<!--
var sprySettings = '';
var MenuBar1 = new Spry.Widget.MenuBar("MantraMenu", sprySettings);
//-->
</script>
|





Linear Mode
