I am trying to install my php script. I got the server working . I set up the site and can see it when I enter the domain in my browser outside of the firewall. I uploaded the script to the site in a folder called dsb2. I first tryed to upload it in the root file, but the whole site stoped working. I realy want it so there is no dsb2 file, but am new to how to get it to work without the sub folder.The info from the script told me to enter www.apostolichearts.com/dsb2. then It is supose to show a hyperlink that has install, but it is giving me an error 500. The requested URL caused an internal server error. I tryed to move the file .htaccess to the root file (web) but when I do that nothing works. Can you please help me?
It's most probably a line Optioins +Followsymlinks in your .htaccess Tru removing it if so. If not, try removing line by line from the .htaccess file, and see what line is causing the error.
mod .htaccess it worked. I commented out all but the first line. then it worked. Here is the file. HTML: DirectoryIndex index.php #Options -Indexes #php_flag file_uploads on #php_flag session.use_cookies on #php_flag register_globals off #php_flag session.use_trans_sid off #php_value include_path "." #php_value error_reporting 2047 #php_flag display_errors off Wil it hurt not to have these active? I had this script running on another LAMP and I did not have to comment out the lnes. What causes this to hapen? Also, when I uploaded the files to the server I used winSCP3 and had to use root access to upload them. now the filders belong to root. will this be ok? I tryed to use the user name and password from when I made the website in ingconfig but it would not log on under that program. I am very new to most of this stuff. thanks for the help. Any exsplaing on how and why's would be greatly helpful.
If you use ISPconfig than try adding it to the site's Apache Directives. You will find the Apache Directives in the ISP Site > basis (at the bottom) Make sure you uncomment the lines again.
apache dirtectives how do I add it? ISPconfig? enter this in the apache directives? Then I can uncomment out the lines after entering it? Sorry kind of new to this. Just want to do it right.
added ispconfig I added the string ispconfig in the apaches directives and removed the # from the .htaccess file and tryed to bring up the website in the browser and got the same error as when I started. Help!!
entered this i entered (ispconnfig) in the box were I was told. Also Were is the apache log files at? I looked in var> log and can not find it. I am using debian 4.0.
Why did you enter ispconfig in the Apache Directives field? I thought you wanted to enter something like Code: DirectoryIndex index.php #Options -Indexes #php_flag file_uploads on #php_flag session.use_cookies on #php_flag register_globals off #php_flag session.use_trans_sid off #php_value include_path "." #php_value error_reporting 2047 #php_flag display_errors off ? ispconfig is no Apache directive... What's the output of Code: ls -la /var/log/apache2 ?
the Apache Directives Dose the Apache Directives field replace the .htaccess ? If I do enter the lines from the .htaccess to the Directives Field, do I remove the .htaccess from the script?