May 29, 201412 yr Still not working. STOPPED... :'( EDIT : My fault ; wrong directory on httpd.conf. It's working. It stay this " AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message" You can edit the httpd.conf in /boot/config/plugins/apache and uncomment #ServerName www.example.com:80 and change it to whatever your server is named like ServerName tower Then restart apache
May 29, 201412 yr I have #ServerName NAS but same error... I have another question, i can not acces my data dir under Windows. is it normal ?
May 29, 201412 yr I changed the plugin to automatically get your unraid hostname and run apache with it as ServerName. So no need to uncomment it. Do you mean the Document Root where you webpages are? I think that would be normal because of the permissions and owner of the directory.
May 29, 201412 yr Yes, i'm not the proprietary of the folder... but how can I copy files in ? FTP doesn't work too I am rebooting the Unraid server, I will try to update plugin after restart
May 29, 201412 yr Solved for the permissions with reboot. But i Still have the servername problem. I've updated the PLG but must I reboot again ?
May 29, 201412 yr By default owner when the plugin creates the directory are root. It should probably be apache:apache. But I never got around to implementing that. If its a local web server you could just change the owner to nobody:users chown -R nobody:users /mnt/cache/www Where are you seeing the servername error?
May 29, 201412 yr when i enter apachectl on telnet. root@NAS:~# apachectl AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message Is it the only method to change rights on a folder on unraid ? I try to install GLPI on my server... I can see the startup page but no lonks work when I click on a button... edit : It is indicated that i must give right to php on 2 specific folder ? Do you knox how to ? because for me, php is not a user
May 29, 201412 yr the apachectl command will only work if you have everything in its default place. Like httpd.conf in /etc/httpd If you want to test from the command line you need something like this sudo -u root apachectl -k start -f /boot/config/plugins/apache/httpd.conf -c "Listen 8088" -c "ServerName Server" That is the full command line the plugin uses. It is briefly visible on the settings page in the webgui when you start apache. You shouldn't need the command line in everyday use. The plugin will start and stop the web server on boot and shutdown if you choose. I use linux and setup up sftp links to my server, vm ,xbmc etc So i'm browsing the files like I would on my own computer. But when I used windows I would use WinSCP and set up a sftp through that. I also use sftp on my android phone using ES File Explorer. I usually log in as root to manipulate system files.
May 29, 201412 yr I'm sorry. I don't understant all of what you say SFTP ? When I try on WinSCP for connect to unraid.. it says access denied... excepet for FTP user who have a password and it say that SFTP not enabled. EDIT : It's difficult for me I'm French and Windows User... I can see the first page of glpi installation but nothing else that a blank page when i click next... I can only charge one php page at time it seems...
May 29, 201412 yr I'm sorry. I don't understant all of what you say SFTP ? When I try on WinSCP for connect to unraid.. it says access denied... excepet for FTP user who have a password and it say that SFTP not enabled. EDIT : It's difficult for me I'm French and Windows User... I can see the first page of glpi installation but nothing else that a blank page when i click next... I can only charge one php page at time it seems... You might try setting the owner for you document root to this using your install path chown -R apache:apache /mnt/cache/www I just booted into my windows and for WinSCP you can use SCP or SFTP with allow SCP fallback checked both on port 22. It does have a pop up the first time you connect that checks the security which you must accept.
May 29, 201412 yr I have changed owner from root to apache... but... same problem. "php permissions" is apache user ? Thanks for your precious help. my problem is not totally solved but apache server work, not php website on it ! I only have one application (Glpi) to test it. Do you know another mini website or application that i can try on my web server ?
May 29, 201412 yr Also you can create a phpinfo.php to verify that php is working. <?php // Show all information, defaults to INFO_ALL phpinfo(); ?> Just save this in phpinfo.php and copy to web directory. then check http://Server:8080/phpinfo.php Edit : Also phpMyAdmin is what I created the plugin for
May 30, 201412 yr It's not specified. just says that need php 5.3 with sessions support. I got it working. I added php.ini to /etc/httpd You need to delete /boot/config/plugins/apache directory and remove the old plugin /boot/config/plugins/apache_64.plg then download again and installplg I changed some things that will be incompatible with old version. Also there is no need to edit httpd.conf. Everything is done from the webgui. Document Root, Port and User. It can be run as nobody or the apache user or any other user you choose
May 30, 201412 yr dmacias, you are a Genious !!! Perfect job for the plugin ! All it's working. I have to run it with "apache" user from i have changed owner on folder yesterday. Thanks you very much for your great help !! Maybe should you post a new topic on unraid 6 plugins to propose your apache plugin. Thanks.
May 30, 201412 yr Thank you for your patience and making me finish the plugin. Maybe I'll make a thread. But I'm glad it worked for you.
May 31, 201412 yr Thanks again I'm not developper just technician and only on Windows Maybe you can help too for mysql plugin of ikosa, the webguy modifications not modifiate CFG file on flash drive. But CFG file modify webguy info. Do you have any idea ? If its not too asked for you
May 31, 201412 yr Yes I can look into it. Also I saw you wanted to mount an external sata disk. This is what I use for a SSD in my go file mkdir /mnt/domains mount -rw -o noatime,nodiratime,discard -t ext4 /dev/disk/by-id/ata-OCZ-AGILITY3_OCZ-7Z9232P32MR4B884-part1 /mnt/domains There's a thread on here how to mount an external drive.
May 31, 201412 yr It's an internal disk How can I adapt your code to use mine disk ? I don't know how to find it on linux telnet
May 31, 201412 yr Ok I see it on /dev/disk/by-id/ Ca you explain me "-rw -o noatime,nodiratime,discard -t ext4" - rw Read/write i suppose I also have to format the disk It-s a windows NTFS disk at this state... not empty
Archived
This topic is now archived and is closed to further replies.