|
|
Poslao: 26 Jan 2016 11:31
|
offline
- dejnik978
- Zaslužni građanin
- Pridružio: 25 Mar 2015
- Poruke: 548
|
Ovako izgleda
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /home/linuxmint/websajt/public_html
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /home/linuxmint/websajt/public_html>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /home/linuxmint/websajt/logs/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /home/linuxmint/websajt/logs/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
Ovde sam pogresio u prethodnoj instalaciji pre ove i ovako stoji nisam nista drugo menjao, kako da je default da ispravim sigurno zato samo vrti connecting i nista
|
|
|
|
Poslao: 26 Jan 2016 11:35
|
offline
- dejnik978
- Zaslužni građanin
- Pridružio: 25 Mar 2015
- Poruke: 548
|
Svuda sam ispravio sa /var/www/html mesto moje putanje
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /var/www/html>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/www/html/logs/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/www/html/logs/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
opet nista
|
|
|
|
Poslao: 26 Jan 2016 11:38
|
offline
- dejnik978
- Zaslužni građanin
- Pridružio: 25 Mar 2015
- Poruke: 548
|
zatim sam pokusao da restartujem apache2
sudo service apache2 restart
Rezultat fail
udo service apache2 restart
[sudo] password for linuxmint:
* Restarting web server apache2 [fail]
* The apache2 configtest failed.
Output of config test was:
env: apache2ctl: No such file or directory
|
|
|
|
|
|
Poslao: 26 Jan 2016 13:08
|
offline
- dejnik978
- Zaslužni građanin
- Pridružio: 25 Mar 2015
- Poruke: 548
|
Razlog zasto nemam localhost jeste da sam obrisao putanju root localhost tako da je to 100% razlog, ali sam obrisao jos neke vazne fajlove sada cu morati opet da instaliram linux
|
|
|
|
Poslao: 26 Jan 2016 19:53
|
offline
- dejnik978
- Zaslužni građanin
- Pridružio: 25 Mar 2015
- Poruke: 548
|
Napisano: 19 Jan 2016 11:25
gksudo gedit /etc/php5/apache2/php.ini
nema
;extension=mysql.so
pa sam dodao
extension=mysql.so
sudo /etc/init.d/apache2 restart
* Restarting web server apache2 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[ OK ]
rezultat nista
If you get a 404 error upon visiting http://localhost/phpmyadmin: You will need to configure apache2.conf to work with Phpmyadmin.
sudo gedit /etc/apache2/apache2.conf
Kako sad da podesim ovo?
Hvala pozdrav
|
|
|
|