[SR-Users] Cannot write to file (/var/www/siremis-4.0.0/siremis/Config.xml)

J Handal M jhandalnavy at gmail.com
Fri Aug 2 17:33:38 CEST 2013


Problem solved
Cannot write to file (/var/www/siremis-4.0.0/siremis/Config.xml)I chmod
g+w,u+w Config.xml
from this
umg at 127:/var/www/siremis-4.0.0/siremis$ ls -l Config.xml
-rw-r--r-- 1 root root 393 may  8 07:55 Config.xml
To this
umg at 127:/var/www/siremis-4.0.0/siremis$ ls  -l Config.xml
-rw-rw-rw- 1 root root 393 may  8 07:55 Config.xml



On Thu, Aug 1, 2013 at 3:28 PM, J Handal M <jhandalnavy at gmail.com> wrote:

> umg at 127:/var/www/siremis-4.0.0/siremis$ ls
>
> bin    Config.xml   files   index.php  js         log      pages    themes
> build  favicon.ico  images  install    languages  modules  sessio
>
>
> <?xml version="1.0" standalone="no"?>
> <Config>
>    <DataSource>
>       <Database Name="Default" Driver="Pdo_Mysql" Server="localhost"
> Port="3306" DBName="siremis" User="siremis" Password="siremisrw"
> Charset="utf8"/>
>       <Database Name="Serdb" Driver="Pdo_Mysql" Server="localhost"
> Port="3306" DBName="kamailio" User="kamailio" Password="kamailiorw"
> Charset="utf8"/>
>    </DataSource>
> </Config>
>
>
> On Thu, Aug 1, 2013 at 3:20 PM, J Handal M <jhandalnavy at gmail.com> wrote:
>
>> Hi All,
>>
>> I am following this tutorial
>> http://127.0.0.1/siremis/install/index.php?step=2
>>  This file is located at /etc/apache2/sites-available/default
>>
>> Not sure about this lineRedirectMatch ^/$ /apache2-default/
>>
>>
>> <VirtualHost *:80>
>>     ServerAdmin webmaster at localhost
>>
>>     DocumentRoot /var/www
>>     <Directory />
>>         Options FollowSymLinks
>>         AllowOverride None
>>     </Directory>
>>     <Directory /var/www/>
>>                 Options Indexes FollowSymLinks MultiViews
>>                 AllowOverride None
>>                 Order allow,deny
>>                 allow from all
>>                 # This directive allows us to have apache2's default
>> start page
>>                 # in /apache2-default/, but still have / go to the right
>> place
>>                 RedirectMatch ^/$ /apache2-default/
>>         </Directory>
>>     ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
>>     <Directory "/usr/lib/cgi-bin">
>>         AllowOverride None
>>         Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
>>         Order allow,deny
>>         Allow from all
>>     </Directory>
>>
>>
>>     ErrorLog ${APACHE_LOG_DIR}/error.log
>>
>>     # Possible values include: debug, info, notice, warn, error, crit,
>>     # alert, emerg.
>>     LogLevel warn
>>
>>     CustomLog ${APACHE_LOG_DIR}/access.log combined
>>
>>     Alias /doc/ "/usr/share/doc/"
>>     <Directory "/usr/share/doc/">
>>         Options Indexes MultiViews FollowSymLinks
>>         AllowOverride None
>>         Order deny,allow
>>         Deny from all
>>         Allow from 127.0.0.0/255.0.0.0 ::1/128
>>     </Directory>
>>     Alias /siremis "/var/www/siremis-4.0.0/siremis"
>>     <Directory "/var/www/siremis-4.0.0/siremis">
>>         Options Indexes FollowSymLinks MultiViews
>>         AllowOverride All
>>         Order allow,deny
>>         Allow from all
>>         <FilesMatch "\.xml$">
>>             Order deny,allow
>>             Deny from all
>>         </FilesMatch>
>>         <FilesMatch "\.inc$">
>>             Order deny,allow
>>             Deny from all
>>         </FilesMatch>
>>     </Directory>
>>
>>
>> </VirtualHost>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130802/25efb508/attachment.html>


More information about the sr-users mailing list