Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.htaccess
#1
Hi!
I'm running an ubuntu 8.04 server with ECHP 0.27. I tried to activate the rewrite (.htaccess).

I tried a2enmod rewrite

[root@mcserver:~# a2enmod rewrite This module is already enabled!]

And I put "AllowOverride All" in /etc/apache2/sites-available/default...

But dont work!

Restored from old drupal forum, for user uid:200 username:Erik Assunção
You may reset your password to access your new account here.
Reply
#2
Someone know how to resolv?

Please help me!

Restored from old drupal forum, for user uid:200 username:Erik Assunção
You may reset your password to access your new account here.
Reply
#3
you need to activate .htaccess in your custom http settings.
apply appropriate apache directives for .htaccess in ehcp, custom http settings....

bug make sure that the apache commands that you enter in panel are correct. Otherwise, apache will fail to start and your panel will become unavailable...

if you panel becomes unaccessible because of this: go to your mysql console, and :
delete from customsettings;
insert into operations (op) values ('syncdomains');

these will restore apache settings,
then: in normal console: /etc/init.d/apache2 start


i will try to find necessarry apache directives for proper .htaccess operation...

Another subject: if you only want to use rewrite rules, then you may not need .htaccess files... you may do that rewrite in custom http settings directly..


see you.

Restored from old drupal forum, for user uid:200 username:Erik Assunção
You may reset your password to access your new account here.
Reply
#4
But how I make a custom http settings to active .htaccess?

Thank you!
See you.

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#5
did you ever test to just put .htaccess file to your directory ?

just create a plain text file with name .htaccess and put this into your directory on server,
put some apache configuration directives in .htaccess files..

i think it is automatically read , no custom apache directive is needed, i think so... i am no tsure.


but, keep in mind that, not all apache directives can be used inside .htaccess files...
have a look at: http://httpd.apache.org/docs/2.0/howto/htaccess.html

Restored from old drupal forum, for user uid:200 username:Erik Assunção
You may reset your password to access your new account here.
Reply
#6
look at these links too:
http://www.askapache.com/htaccess/htaccess-for-webmasters.html
http://www.google.com.tr/search?q=apache+conf+.htaccess&ie=utf-8&oe=utf-8&aq=t&rls=com.ubuntu:tr-TR:unofficial&client=firefox-a

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#7
Here has not worked! I'm downloading the Unbuntu 8.10 to see if it will work.

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#8
i tested and saw that: .htaccess already works if you put it in your directory.
But note that: you cannot use all apache configuration directives in .htacces..

the directives that you can use inside .htaccess is limited...

Restored from old drupal forum, for user uid:200 username:Erik Assunção
You may reset your password to access your new account here.
Reply
#9
The ehcp still does not work in Ubuntu 8.10?

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#10
yes it works i think, i use installed onto 8.10 and use it now.. in my production machine... production server...

if you need help,
please contact me by msn/email: info@ehcp.net or ehcpdeveloper@iyibirisi.com

then if possible, send me your login info, ip
then i will try to solve your problem.

Restored from old drupal forum, for user uid:200 username:Erik Assunção
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping