Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Download Elxis CMS:
Elxis 5.5 Hermes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Installation
»
2 warnings on installation (maybe is server problem)
« previous
next »
Print
Pages: [
1
]
Author
Topic: 2 warnings on installation (maybe is server problem) (Read 14544 times)
babis1
Hero Member
Posts: 1538
2 warnings on installation (maybe is server problem)
«
on:
November 05, 2008, 23:19:59 »
is my first time who i use an unknown for me server......................
here is the warnnings in the 3 step.............
Warning: mysql_connect() [function.mysql-connect]: Access denied for user '.........._ ...........'@'localhost' (using password: YES) in /home/........../public_html/includes/adodb/drivers/adodb-mysql.inc.php on line 364
Warning: mysql_connect() [function.mysql-connect]: Access denied for user '.........._ .........'@'localhost' (using password: YES) in /home/........./public_html/includes/adodb/drivers/adodb-mysql.inc.php on line 364
i also add an image of the first step who i thing there is some wrong settings in server...............
[attachment deleted by admin]
Logged
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: 2 warnings on installation (maybe is server problem)
«
Reply #1 on:
November 05, 2008, 23:39:02 »
This is very badly setup server. Do you have to use this server? When server is setup like this, even kids can hack it.
Logged
I've got a snap in my finger...
Got rhythm in my walk...
Farhad Sakhaei
Elxis Community
Hero Member
Posts: 1190
I know nothing , Should know more & more
Re: 2 warnings on installation (maybe is server problem)
«
Reply #2 on:
November 06, 2008, 10:39:45 »
You can edit the .htaccess file and use php_flag name on|off to disable/enable those settings ...
Example : php_flag allow_url_fopen off
If phpsuexec is enabled on your server , You can't use this ... You can get a version of your server's php configuration (php.ini) and modify those settings and place it in your folders ...
Logged
DediData Web Hosting Services
babis1
Hero Member
Posts: 1538
Re: 2 warnings on installation (maybe is server problem)
«
Reply #3 on:
November 06, 2008, 11:22:58 »
Quote from: Ivan Trebješanin on November 05, 2008, 23:39:02
Do you have to use this server?
No in noway my first priority is a very good server , i don't want troubles who i don't know how i fixed them. I send message to my client.........thanks for the answers
Logged
Ivan Trebješanin
Elxis Team
Hero Member
Posts: 1663
Re: 2 warnings on installation (maybe is server problem)
«
Reply #4 on:
November 06, 2008, 12:35:29 »
Quote from: Farhad Sakhaei on November 06, 2008, 10:39:45
Example : php_flag allow_url_fopen off
I was talking about something much more dangerous... he has
Register Globals ON
. I mean, when you setup a server, it is the first thing you want to disable.
Logged
I've got a snap in my finger...
Got rhythm in my walk...
Farhad Sakhaei
Elxis Community
Hero Member
Posts: 1190
I know nothing , Should know more & more
Re: 2 warnings on installation (maybe is server problem)
«
Reply #5 on:
November 06, 2008, 19:42:16 »
php_flag register_globals off
php_flag allow_url_fopen off
php_flag display_error off
php_value session.save_path "/home/username/session"
Logged
DediData Web Hosting Services
kebic
Elxis Community
Sr. Member
Posts: 307
Re: 2 warnings on installation (maybe is server problem)
«
Reply #6 on:
November 06, 2008, 21:05:29 »
.htaccess for Webmasters
[/b][/color]
***************************************************************************
When site is “Under Construction�?
This lets google crawl, lets me access (1.1.1.1) without a password, and lets access from anyone WITH a password. It also allows for XHTML and CSS validation through
www.w3.org
***************************************************************************
AuthName "Under Development"
AuthUserFile /home/askapache.com/.htpasswd
AuthType basic
Require valid-user
Order Deny,Allow
Deny from all
Allow from 1.1.1.1 w3.org googlebot.com google.com google-analytics.com
Satisfy Any
***************************************************************************
Redirect everyone to different site except 1 IP
ErrorDocument 403
http://www.neki.com
Order deny,allow
Deny from all
Allow from 1.1.1.1
***************************************************************************
Redirect all but 1 IP to different site, using mod_rewrite
RewriteEngine On
RewriteBase /
RewriteCond %{REMOTE_HOST} !^1.1.1.1
RewriteRule .*
http://www.neki.com
[R=302,L]
***************************************************************************
Redirect Everyone but you to alternate page on your server
RewriteEngine On
RewriteBase /
RewriteCond %{REMOTE_HOST} !^1.1.1.1
RewriteCond %{REQUEST_URI} !/temporary-offline.html$
RewriteRule .* /temporary-offline.html [R=302,L]
***************************************************************************
Set the Timezone of the server
SetEnv TZ America/Indianapolis
***************************************************************************
Set the Server Administrator Email
Include a link to your email address in Apache-Generated Error Documents. Shows up on default Apache error pages
ServerSignature EMail
SetEnv SERVER_ADMIN info@neki.com
***************************************************************************
Turn off the ServerSignature
Turns off the address part of your Server Signature in Apache generated Error Documents.
ServerSignature Off
***************************************************************************
Force File download, do not display/open in browser
In your HTML directly link to the file.. <a href="/movies/mov1.avi">Download Movie1[/url]. Now you will get a pop-up box asking whether you want to save the file or open it.
AddType application/octet-stream .avi
AddType application/octet-stream .mpg
AddType application/octet-stream .mov
AddType application/octet-stream .pdf
***************************************************************************
Process .gif files with a cgi script
When a user requests a .gif file (image/gif) the server instead of serving that .gif file it serves the results of /cgi-bin/filter.cgi
Action image/gif /cgi-bin/filter.cgi
***************************************************************************
Process Requests with certain Request Methods
Script PUT /cgi-bin/upload.cgi
Script HEAD /cgi-bin/head-robot.cgi
***************************************************************************
Make any file be a certain filetype
Makes image.gif, blah.html, index.cgi all act as php
ForceType application/x-httpd-php
***************************************************************************
Use IfModule for robustness
Basically if the module is found it will perform the code inside the tag.
<IfModule mod_rewrite.c>
# any mod_rewrite directives here
</IfModule>
<IfModule mod_expires.c>
# any Expires Directives go here
</IfModule>
<IfModule mod_headers.c>
# any Header directives go here
</IfModule>
***************************************************************************
«
Last Edit: November 06, 2008, 21:11:43 by kebic
»
Logged
Poslovni Consulting
|
make gifs from videos
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Installation
»
2 warnings on installation (maybe is server problem)