Hozzászólások
-
SzerzőBejegyzés
-
balev wrote:Még egy: nem írtad, hogy mi írja ki, hogy mysql service unavaliable!
Plusz a phpinfo() kimenetét csatold be!Joomla portállal játszadozom, az install elindult, …… de mivel nincs még ott a mysql, nem is megy tovább.
Kérdés …. mielött … kiakarom cserélni xampp-ra az apacsot, amit eddig telepítettem, azt törölnöm kell?
Amúgy readme-t nem találtam, csak egy-egy my-medium,-small,-large.cnf egyszerű szöveget. Gondolom ez segédlet a my.cnf beállításához.
A gond csak annyi, hogy baromi gyenge az angoltudásom 🙁A Mysql-t telepítettem a YaST-tal, de nem tudom mi a további teendő.
A /etc mappában találtam mysqlaccess.conf és my.cnf filéket, a access-et értelem szerúen változtattam, de a másikhoz lövésem sincs 🙁
még itt találtam mysql-t
A /var/lib/mysql/temp …. üres
Az /usr/share/mysql – tele mindenféle nyelvi mappával és filével
Valahol olvastam, hogy a localhost gyökerébe kell másolnom mysql fájlokat, de már nem tudom hol, mit és hogyan 🙁Én is kiváncsi lennék arra a linkre 🙂
A megoldás egyenlőre az, hogy a httpd.conf-ban itt:
# forbid access to the entire filesystem by defaultOptions None
AllowOverride None
Order deny,allow
# Deny from allA Deny from all elé tettem a #-et 🙂 ………
egy kedves online helper javaslatára.Viszont a – MySQL support Unavailable 🙁
Ezzel vajon mi a tennivaló?#
# VirtualHost template
# Note: to use the template, rename it to /etc/apache2/vhost.d/yourvhost.conf.
# Files must have the .conf suffix to be loaded.
#
# See /usr/share/doc/packages/apache2/README.QUICKSTART for further hints
# about virtual hosts.
#
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#ServerAdmin webmaster@dummy-host.example.com
ServerName dummy-host.example.com# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
DocumentRoot /srv/www/vhosts/dummy-host.example.com# if not specified, the global error log is used
ErrorLog /var/log/apache2/dummy-host.example.com-error_log
CustomLog /var/log/apache2/dummy-host.example.com-access_log combined# don’t loose time with IP address lookups
HostnameLookups Off# needed for named virtual hosts
UseCanonicalName Off# configures the footer on server-generated documents
ServerSignature On# Optionally, include *.conf files from /etc/apache2/conf.d/
#
# For example, to allow execution of PHP scripts:
#
# Include /etc/apache2/conf.d/mod_php4.conf
#
# or, to include all configuration snippets added by packages:
# Include /etc/apache2/conf.d/*.conf# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing „/” apply to ScriptAlias directives as to
# Alias.
#
ScriptAlias /cgi-bin/ „/srv/www/vhosts/dummy-host.example.com/cgi-bin/”# „/srv/www/cgi-bin” should be changed to whatever your ScriptAliased
# CGI directory exists, if you have one, and where ScriptAlias points to.
#
AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all
# UserDir: The name of the directory that is appended onto a user’s home
# directory if a ~user request is received.
#
# To disable it, simply remove userdir from the list of modules in APACHE_MODULES
# in /etc/sysconfig/apache2.
#
# Note that the name of the user directory („public_html”) cannot simply be
# changed here, since it is a compile time setting. The apache package
# would have to be rebuilt. You could work around by deleting
# /usr/sbin/suexec, but then all scripts from the directories would be
# executed with the UID of the webserver.
UserDir public_html
# The actual configuration of the directory is in
# /etc/apache2/mod_userdir.conf.
Include /etc/apache2/mod_userdir.conf
# You can, however, change the ~ if you find it awkward, by mapping e.g.
# http://www.example.com/users/karl-heinz/ –> /home/karl-heinz/public_html/
#AliasMatch ^/users/([a-zA-Z0-9-_.]*)/?(.*) /home/$1/public_html/$2
#
# This should be changed to whatever you set DocumentRoot to.
#
#
# Possible values for the Options directive are „None”, „All”,
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that „MultiViews” must be named *explicitly* — „Options All”
# doesn’t give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be „All”, „None”, or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
pomm wrote:Keress olyan c onfigot az /etc/apache2 könyvtárban, amiben találsz olyat, hogy
DocumentRoot
Ott mi van neked?
Milyen rendszert használsz???Suse 10.0
Ezt: VirtualHost template találtam csak, ahol a DocumentRoot található.
Szinte olyan, mint amit te bemásoltál, csak az a különbség, hogy nincs kitöltve 🙂Nem rootként vagyok.
Most már minden mappának én vagyok a tulajdonosa:
/srv
/www
/htdocs
ennek elenére:
Access forbidden!You don’t have permission to access the requested object. It is either read-protected or not readable by the server.
pomm wrote:Sztem aty-nak az /etc/apache2/sites-available/default kéne.Nézd meg azt is, hogy mi van a /var/www alatt és írd le nekünk!
Esetleg add ki ezt a parancsot és nézd meg, hátha megy:
chown -R júzerneved /var/wwwetc/apache2/sites-available/default …..ez nincs nálam.
/var/www ……….ez sem.
A / www mappa az /srv mappában van, /srv/www/htdocs mappában van az index állománylinux:~ # chown -R root/srv/www
chown: missing operand after `root/srv/www’
Try `chown –help’ for more information.
linux:~ #Ez van az /etc/apache2/conf.d/php4.conf filében:
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps
DirectoryIndex index.php
DirectoryIndex index.php3
DirectoryIndex index.php4Más apach2.conf-ot nem találtam
Itt a _.conf
-
SzerzőBejegyzés
legutóbbi hsz