|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
.htaccess and internal server errorHow to configure .htacccess? Every time I try to run index.php I get internal server error. When I delete .htaccess my gallery list is ok, but when I try to list photos from any gallery I get error 404. RewriteBase in .htaccess is the same as WEB_ROOT in adroit.conf.php and I left every other .htaccess option untouched. What might be the problem? Best regards Ephic --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Adroit PHP" group. To post to this group, send email to adroit-general@... To unsubscribe from this group, send email to adroit-general+unsubscribe@... For more options, visit this group at http://groups.google.com/group/adroit-general?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: .htaccess and internal server errorFirst thing I'd try is removing the top line of the .htaccess file, the option for following symbolic links: Options +FollowSymLinks Depending on how apache is setup for your environment that may or may not be causing the server error. If that doesn't work, it may be that mod_rewrite isn't enabled in the apache installation you have, or that you need to enable overrides via .htaccess files for where your files are being served from. Let me know if any of those approaches work, or if you have more questions on them. On Sep 5, 9:02 am, Ephic <srogi.sza...@...> wrote: > How to configure .htacccess? Every time I try to run index.php I get > internal server error. When I delete .htaccess my gallery list is ok, > but when I try to list photos from any gallery I get error 404. > > RewriteBase in .htaccess is the same as WEB_ROOT in adroit.conf.php > and I left every other .htaccess option untouched. > > What might be the problem? > > Best regards > Ephic You received this message because you are subscribed to the Google Groups "Adroit PHP" group. To post to this group, send email to adroit-general@... To unsubscribe from this group, send email to adroit-general+unsubscribe@... For more options, visit this group at http://groups.google.com/group/adroit-general?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: .htaccess and internal server errorRemoving first line didn't help, but you were right about mod_rewrite and overrides. I use XAMPP apache+php+mysql web server. It comes with many mods and other goodies, but it seems that many of them are disabled by default. Thanks for your help :) On Sep 5, 5:18 pm, brad harris <bmhar...@...> wrote: > First thing I'd try is removing the top line of the .htaccess file, > the option for following symbolic links: > > Options +FollowSymLinks > > Depending on how apache is setup for your environment that may or may > not be causing the server error. If that doesn't work, it may be that > mod_rewrite isn't enabled in the apache installation you have, or that > you need to enable overrides via .htaccess files for where your files > are being served from. Let me know if any of those approaches work, > or if you have more questions on them. > > On Sep 5, 9:02 am, Ephic <srogi.sza...@...> wrote: > > > How to configure .htacccess? Every time I try to run index.php I get > > internal server error. When I delete .htaccess my gallery list is ok, > > but when I try to list photos from any gallery I get error 404. > > > RewriteBase in .htaccess is the same as WEB_ROOT in adroit.conf.php > > and I left every other .htaccess option untouched. > > > What might be the problem? > > > Best regards > > Ephic You received this message because you are subscribed to the Google Groups "Adroit PHP" group. To post to this group, send email to adroit-general@... To unsubscribe from this group, send email to adroit-general+unsubscribe@... For more options, visit this group at http://groups.google.com/group/adroit-general?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: .htaccess and internal server errorNo problem, glad you got it up and going. On Sep 5, 9:48 am, Ephic <srogi.sza...@...> wrote: > Removing first line didn't help, but you were right about mod_rewrite > and overrides. > I use XAMPP apache+php+mysql web server. It comes with many mods and > other goodies, but it seems that many of them are disabled by default. > > Thanks for your help :) > > On Sep 5, 5:18 pm, brad harris <bmhar...@...> wrote: > > > First thing I'd try is removing the top line of the .htaccess file, > > the option for following symbolic links: > > > Options +FollowSymLinks > > > Depending on how apache is setup for your environment that may or may > > not be causing the server error. If that doesn't work, it may be that > > mod_rewrite isn't enabled in the apache installation you have, or that > > you need to enable overrides via .htaccess files for where your files > > are being served from. Let me know if any of those approaches work, > > or if you have more questions on them. > > > On Sep 5, 9:02 am, Ephic <srogi.sza...@...> wrote: > > > > How to configure .htacccess? Every time I try to run index.php I get > > > internal server error. When I delete .htaccess my gallery list is ok, > > > but when I try to list photos from any gallery I get error 404. > > > > RewriteBase in .htaccess is the same as WEB_ROOT in adroit.conf.php > > > and I left every other .htaccess option untouched. > > > > What might be the problem? > > > > Best regards > > > Ephic You received this message because you are subscribed to the Google Groups "Adroit PHP" group. To post to this group, send email to adroit-general@... To unsubscribe from this group, send email to adroit-general+unsubscribe@... For more options, visit this group at http://groups.google.com/group/adroit-general?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |