#1  
Old 4th December 2005, 22:33
fpl fpl is offline
Junior Member
 
Join Date: Nov 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default gallerie and rewrite

hello, and sorry for my bad english

I want install Gallerie software ( http://gallery.menalto.com )
but i have some problem :
1/
Code:
Warning!
Apache is not obeying the 'php_value' lines in your .htaccess file. Try entering the following into your web server's httpd.conf file:
<Directory /var/www/web6/web/pics>
	AllowOverride Options FileInfo
</Directory>
If you are running PHP in CGI mode, this message is unavoidable.
2/
Code:
Warning!
Magic quotes are on. Your webserver administrator can turn them off by putting :
	magic_quotes_gpc = Off
in your php.ini file.
3/
Code:
Warning!
Either mod_rewrite is not installed or your .htaccess file is not enabled (see above). Either way, we'll have to use longer URLs in the Gallery. If you want to turn it on, first make sure that your .htaccess file is being obeyed. If it still doesn't work, you may need to reconfigure and rebuild Apache with this flag:
	--enable-module=rewrite
The gallery run, but not with rewrite url...

I have try :
1/ add the code in ' Directives Apache' of domain
2/ modify On to Off in php.ini
3/ i think is already enable?

But, no url rewrite...

Can you help me ?

thanks
Reply With Quote
Sponsored Links
  #2  
Old 4th December 2005, 23:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Quote:
Originally Posted by fpl
2/ modify On to Off in php.ini
Did you restart Apache afterwards?

Quote:
Originally Posted by fpl
3/ i think is already enable?
Do you see anything like
Code:
LoadModule [...]/mod_rewrite.so
or similar in your httpd.conf?
Which distribution do you use?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 5th December 2005, 01:01
fpl fpl is offline
Junior Member
 
Join Date: Nov 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Did you restart Apache afterwards?


Do you see anything like
Code:
LoadModule [...]/mod_rewrite.so
or similar in your httpd.conf?
Which distribution do you use?
yes, restart Apache2 ... and ISPc

my httpd.conf (apache2) :
Code:
# This is here for backwards compatability reasons and to support
#  installing 3rd party modules directly via apxs2, rather than
#  through the /etc/apache2/mods-{available,enabled} mechanism.
#
#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so
and my distrib is debian sarge
Just new debian with ispconfig.. I'm install with your tutoriel
Reply With Quote
  #4  
Old 5th December 2005, 10:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

Try this:

Code:
cd /etc/apache2/mods-enabled
ln -s /etc/apache2/mods-available/ssl.conf ssl.conf
ln -s /etc/apache2/mods-available/ssl.load ssl.load
ln -s /etc/apache2/mods-available/rewrite.load rewrite.load
ln -s /etc/apache2/mods-available/suexec.load suexec.load
ln -s /etc/apache2/mods-available/include.load include.load
/etc/init.d/apache2 restart
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 5th December 2005, 19:11
fpl fpl is offline
Junior Member
 
Join Date: Nov 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
Try this:

Code:
cd /etc/apache2/mods-enabled
ln -s /etc/apache2/mods-available/ssl.conf ssl.conf
ln -s /etc/apache2/mods-available/ssl.load ssl.load
ln -s /etc/apache2/mods-available/rewrite.load rewrite.load
ln -s /etc/apache2/mods-available/suexec.load suexec.load
ln -s /etc/apache2/mods-available/include.load include.load
/etc/init.d/apache2 restart
hello falko,
I have already this in /etc/apache2/mods-enabled :
Code:
lrwxrwxrwx  1 root root 36 2005-12-29 20:41 cgi.load -> /etc/apache2/mods-available/cgi.load
lrwxrwxrwx  1 root root 40 2005-12-29 21:07 include.load -> /etc/apache2/mods-available/include.load
lrwxrwxrwx  1 root root 37 2005-12-29 20:42 perl.conf -> /etc/apache2/mods-available/perl.conf
lrwxrwxrwx  1 root root 37 2005-12-29 20:42 perl.load -> /etc/apache2/mods-available/perl.load
lrwxrwxrwx  1 root root 37 2005-12-29 20:41 php4.conf -> /etc/apache2/mods-available/php4.conf
lrwxrwxrwx  1 root root 37 2005-12-29 20:41 php4.load -> /etc/apache2/mods-available/php4.load
lrwxrwxrwx  1 root root 40 2005-12-29 21:07 rewrite.load -> /etc/apache2/mods-available/rewrite.load
lrwxrwxrwx  1 root root 36 2005-12-29 21:07 ssl.conf -> /etc/apache2/mods-available/ssl.conf
lrwxrwxrwx  1 root root 36 2005-12-29 21:07 ssl.load -> /etc/apache2/mods-available/ssl.load
lrwxrwxrwx  1 root root 39 2005-12-29 21:07 suexec.load -> /etc/apache2/mods-available/suexec.load
lrwxrwxrwx  1 root root 40 2005-12-29 20:39 userdir.conf -> /etc/apache2/mods-available/userdir.conf
lrwxrwxrwx  1 root root 40 2005-12-29 20:39 userdir.load -> /etc/apache2/mods-available/userdir.load
I think it's good ?
and :
Code:
more rewrite.load 
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
Reply With Quote
  #6  
Old 5th December 2005, 20:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Default

ok, mod_rewrite is enabled so I think the .htaccess file of your gallery software isn't ok. Can you post it here?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

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


All times are GMT +2. The time now is 19:51.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.