vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Myspace Profile Re-Write PRO! 1.0.0 (https://vborg.vbsupport.ru/showthread.php?t=109094)

ZacUSNYR 03-14-2006 01:39 PM

Quote:

Originally Posted by Synth
Any love on this issue:)

If you're getting the 404 error - it's most likely one thing - you don't have modules compiled into apache.

Is this your box or someone else hosting it for you?

Go to your admin panel - Maintenance - View PHP Info

Under the section apache2handler there is a Loaded Modules Block.

In there you should see mod_rewrite - without that! It's a no go!

If you have access to the box you can check the conf file and try adding
LoadModule rewrite_module modules/mod_rewrite.so

Just add it underneith the loadmodule line for php. Restart apache and check your php info again - still no go the original compile did not specify modules and you'll need to recompile.

Lissa 03-14-2006 02:08 PM

Quote:

Originally Posted by ZacUSNYR
You need to find the text that reads
Code:

$userinfo[aimicon] <a href="whatever it says here - has a whole bunch of stuff"> $userinfo[aim]</a>
You need to delete the little bit that says $userinfo[aimicon] before the link and then modify the $userinfo[aim] to $userinfo[aimicon]

That'll make just the icon linkable.

I noticed the same problem you were having with the AIM blocks and rewrote that to be in it's own section. Check it out :)

https://vborg.vbsupport.ru/showpost....&postcount=307

I used your template rewrite, it's awesome!!!!! Thanks :)

Synth 03-14-2006 02:13 PM

Quote:

If you're getting the 404 error - it's most likely one thing - you don't have modules compiled into apache.

Is this your box or someone else hosting it for you?

Go to your admin panel - Maintenance - View PHP Info

Under the section apache2handler there is a Loaded Modules Block.

In there you should see mod_rewrite - without that! It's a no go!

If you have access to the box you can check the conf file and try adding
LoadModule rewrite_module modules/mod_rewrite.so

Just add it underneith the loadmodule line for php. Restart apache and check your php info again - still no go the original compile did not specify modules and you'll need to recompile.
This site is hosted by someone else. I was unbale to find the apache2handler section and the Loaded Modules block. Does that mean I'm just screwed:confused:

ZacUSNYR 03-14-2006 02:21 PM

I'd talk to the person who is hosting the site for you and ask them if they can add the apache mod_rewrite module for a project you're working on. It's becoming more and more used today and I don't believe there is a security issue with it - so there is no reason they shouldn't add it :)

Synth 03-14-2006 02:54 PM

Quote:

Originally Posted by ZacUSNYR
I'd talk to the person who is hosting the site for you and ask them if they can add the apache mod_rewrite module for a project you're working on. It's becoming more and more used today and I don't believe there is a security issue with it - so there is no reason they shouldn't add it :)

I spoke with them and they said since it's a linux box that the apache mod_rewrite is already on but it's not displayed in my php info.

ZacUSNYR 03-14-2006 03:04 PM

Not true. You can install it without modules by not telling it when you configure it - unless it's something with RPM packages (fedora/redhat) then they may have to check their conf file

Synth 03-14-2006 03:06 PM

So should I ask them if it's installed with modules?

ocmca 03-14-2006 03:12 PM

Can someone please tell me how to do this with drupal instead of vbJournal since I'm on php5? THANKS!

ZacUSNYR 03-14-2006 03:17 PM

Do a simple test first to verify it definately is not installed.

Make a sub folder on your domain called test

Create an .htaccess (verify it is chmod 755)

Inside the .htaccess put

Code:

RewriteEngine on
RewriteRule ^old\.html$ new.html

Now create old.html and type the name of the file in there. Save it.

Now go to http://www.mydomain.com/test/new.html

If the contents of old.html are displayed then it is working and you have placed/setup your htaccess wrong in your forums. If it does not work - mod_rewrite is not installed.

Synth 03-14-2006 03:40 PM

Quote:

Originally Posted by ZacUSNYR
Do a simple test first to verify it definately is not installed.

Make a sub folder on your domain called test

Create an .htaccess (verify it is chmod 755)

Inside the .htaccess put

Code:

RewriteEngine on
RewriteRule ^old\.html$ new.html

Now create old.html and type the name of the file in there. Save it.

Now go to http://www.mydomain.com/test/new.html

If the contents of old.html are displayed then it is working and you have placed/setup your htaccess wrong in your forums. If it does not work - mod_rewrite is not installed.

Ok i just keep getting a 404 error.


All times are GMT. The time now is 12:14 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01810 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete